hyper/readme.md

61 lines
2.7 KiB
Markdown
Raw Normal View History

![](https://github.com/zeit/art/blob/525bd1bb39d97dd3b91c976106a6d5cc5766b678/hyper/repo-banner.png)
2016-07-27 05:31:13 -08:00
[![Build Status](https://travis-ci.org/zeit/hyper.svg?branch=master)](https://travis-ci.org/zeit/hyper)
[![Build status](https://ci.appveyor.com/api/projects/status/txg5qb0x35h0h65p/branch/master?svg=true)](https://ci.appveyor.com/project/appveyor-zeit/hyper/branch/master)
2016-07-27 07:08:51 -08:00
[![Slack Channel](https://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/)
[![Changelog #213](https://img.shields.io/badge/changelog-%23213-lightgrey.svg)](https://changelog.com/213)
2016-09-21 06:36:31 -08:00
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
2016-07-21 10:49:29 -08:00
2016-10-06 08:39:14 -08:00
For more details, head to: https://hyper.is
2016-07-15 08:22:55 -08:00
2016-07-27 05:41:49 -08:00
## Usage
2016-07-15 08:22:55 -08:00
2016-12-12 12:34:19 -09:00
[Download the latest release!](https://hyper.is/#installation)
2016-07-27 07:12:16 -08:00
If you're on macOS, you can also use [Homebrew Cask](https://caskroom.github.io/) to download the app by running these commands:
```bash
2016-12-30 15:04:23 -09:00
brew update
brew cask install hyper
```
If you're on windows, you can use [chocolatey](https://chocolatey.org/) to install the app by running the following command (package information can be found [here](https://chocolatey.org/packages/hyper/)):
```bash
choco install hyper
```
Note: the version of hyper available from chocolatey may not be the latest. Consider using the direct download link, https://hyper-updates.now.sh/download/win
## Contribute
Add Windows support and first-class Linux support (#946) * `child_pty` => `pty.js` * Create a frameless window on Windows and Linux * Add a brand new UI for Linux and Windows :nail_care: * [Windows] Fix plugin installation * [Windows] Fix the `build` script * [Windows] Add a bigger `icon.ico` * [Mac] Add `WebKitAppRegion: drag` when running on macOS * Fix code style :thinking: * Add `appveyor.yml` * Fix code style (again) * [Windows] Fix AppVeyor's `install` script * [Windows] Try a new AppVeyor config * [Windows] Set the binary path so Spectron can run the tests * [Windows] Try to build on x64 * Try again to build on x64 * Try one more time :weary: * Throw an error to indicate that `pty.js` was built incorrectly * [Win/Linux] Add `display: hidden` to <Tabs /> if tabs.length === 1 * [Win/Linux] Reorganize SVGs – via @CodeTheory * [Win/Linux] Fix the hamburger menu height * Make the SVGs look better with `shape-rendering: crispEdges;` * [Win/Linux] Add config options for the window controls and the :hamburger: menu * Add `electron-squirrel-startup` dependency * [Win] Handle Squirrel commands * [Win/Linux] Fix default color for the :hamburger: and window controls – via @CodeTheory * [Win/Linux] Add some padding - via @CodeTheory * [Win/Linux] Add hover states – via @CodeTheory * [Win] Fix empty window/tab titles * [Win] Fix opening Preferences (#978) * [Win] Fix opening Preferences * Update ui.js * Update ui.js * Enhance messages and default editor * [Win] Add dependency instructions to the README.md [skip ci] * Fix code style * [Win/Linux] Check the number of open windows before quitting the app
2016-11-11 08:18:04 -09:00
1. Install the dependencies
2016-11-19 11:56:04 -09:00
* If you are running Linux, install `icnsutils`, `graphicsmagick`, `xz-utils` and `rpm`
2017-02-23 12:02:53 -09:00
* If you are running Windows, install `windows-build-tools` with `yarn global add windows-build-tools`.
2. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device
2017-02-23 12:02:53 -09:00
3. Install the dependencies: `yarn`
4. Build the code and watch for changes: `yarn run dev`
5. In another terminal tab/window/pane, run the app: `yarn run app`
To make sure that your code works in the finished application, you can generate the binaries like this:
```bash
2017-02-23 12:02:53 -09:00
yarn run dist
```
2016-09-05 03:57:30 -08:00
After that, you'll see the binary in the `./dist` folder!
2017-01-15 06:34:07 -09:00
### node-pty issues
2017-01-06 17:14:52 -09:00
2017-01-15 06:34:07 -09:00
If after building during development you get an alert dialog related to `node-pty` issues,
2017-02-23 12:02:53 -09:00
make sure its build process is working correctly by running `yarn run rebuild-node-pty`.
2017-01-06 17:14:52 -09:00
If you're on macOS, this typically is related to Xcode issues (like not having agreed
to the Terms of Service by running `sudo xcodebuild` after a fresh Xcode installation).
2016-07-27 07:03:50 -08:00
## Related Repositories
2016-07-27 05:41:49 -08:00
- [Art](https://github.com/zeit/art/tree/master/hyper)
2016-10-06 09:33:08 -08:00
- [Website](https://github.com/zeit/hyper-website)
2016-07-27 07:03:50 -08:00
- [Sample Extension](https://github.com/zeit/hyperpower)
2016-08-08 07:28:08 -08:00
- [Sample Theme](https://github.com/zeit/hyperyellow)