2016-07-01 11:00:09 -08:00
|
|
|
# hyperterm
|
2016-06-30 22:21:29 -08:00
|
|
|
|
2016-07-02 11:03:45 -08:00
|
|
|
## Contribute
|
2016-07-02 09:57:32 -08:00
|
|
|
|
|
|
|
|
To install `package.json` dependencies in a way where the native
|
|
|
|
|
modules are built with `electron`, run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
$ ./install.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Then, you want to make sure `app/dist` is populated. I recommend
|
|
|
|
|
running `webpack` with `--watch` so that any changes you make
|
|
|
|
|
to the app are detected.
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
$ cd app/
|
|
|
|
|
$ npm install
|
|
|
|
|
$ webpack --watch
|
|
|
|
|
```
|
|
|
|
|
|
2016-07-02 14:19:37 -08:00
|
|
|
Then you can run in the main directory:
|
2016-07-02 09:57:32 -08:00
|
|
|
|
|
|
|
|
```bash
|
2016-07-02 11:03:45 -08:00
|
|
|
$ npm start
|
2016-07-02 09:57:32 -08:00
|
|
|
```
|
|
|
|
|
|
2016-07-02 11:03:45 -08:00
|
|
|
...to launch the app!
|
2016-07-02 09:57:32 -08:00
|
|
|
|
2016-06-30 22:21:29 -08:00
|
|
|
## TODO
|
2016-06-30 22:01:04 -08:00
|
|
|
|
2016-07-01 17:42:20 -08:00
|
|
|
- [ ] Warn upon quit
|
2016-07-01 18:11:59 -08:00
|
|
|
- [ ] Implement memory for tab navigation like in Chrome
|
|
|
|
|
- [ ] Clone `pwd` when opening a new tab (as the first plugin?)
|
2016-07-01 17:42:20 -08:00
|
|
|
- [ ] Implement cmd+K to clear
|
2016-06-30 22:01:04 -08:00
|
|
|
- [ ] Listen on `resize` event *coming* from the pty.
|
2016-07-01 16:02:08 -08:00
|
|
|
- [ ] Make sure all popular shells work well, and that we detect
|
|
|
|
|
"url commands" appropriately for them.
|
2016-06-30 22:01:04 -08:00
|
|
|
- [ ] Figure out process title extraction on other platforms.
|
2016-06-30 22:30:35 -08:00
|
|
|
- [ ] Define extensibility surface and APIs
|
2016-07-01 11:00:09 -08:00
|
|
|
- [ ] Define approach to conf management (`~/.hyperterm.json` ?)
|
2016-07-01 14:03:46 -08:00
|
|
|
- [ ] When webview is shown, replace title of tab with webview's title
|
2016-07-01 13:31:07 -08:00
|
|
|
- [ ] Linkify urls in stdout. If clicked, inline webview. If cmd+clicked, default browser.
|
|
|
|
|
- [ ] Show icon that triggers contextmenu in tab, when hovered.
|
|
|
|
|
- [ ] "Open in default browser" option in webview mode
|
|
|
|
|
- [ ] Close
|
|
|
|
|
- [ ] Test on Windows, Linux
|
|
|
|
|
- [ ] Investigate startup time improvements
|
|
|
|
|
- [ ] Optimistic (mosh-style) prompt that memoizes PS1
|
|
|
|
|
- [ ] Smaller bundle (ie: uglify, but currently doesnt work with ES6)
|
|
|
|
|
- [ ] Inline all the CSS/JS in the page instead of extra file
|