Quine's fork of "Hyper" by Vercel, A terminal built on web technologies
Find a file
2020-07-19 00:07:50 +02:00
.circleci Update CircleCI to use Node v12 2020-01-20 21:30:46 +01:00
.github move issue template 2020-07-13 15:17:47 +02:00
.vscode Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00
app Bump chokidar from 3.4.0 to 3.4.1 in /app 2020-07-19 00:07:50 +02:00
assets Windows titlebar improvements (#1307) 2017-01-10 21:45:49 -08:00
bin Update yarn-standalone to v1.21.1 2019-12-23 18:12:14 +01:00
build add usage description for protected resources on mac 2020-06-18 10:55:38 +02:00
cli check ast for module.exports in cli 2020-07-05 00:35:18 +02:00
lib Update eslint and a few ZEIT references to Vercel 2020-07-13 15:05:34 +02:00
test Update eslint and a few ZEIT references to Vercel 2020-07-13 15:05:34 +02:00
.editorconfig Fix for markdown files (#618) 2016-08-14 21:10:41 +02:00
.eslintignore use native-reg to add cli to path 2020-02-16 04:43:50 +01:00
.eslintrc.json Update eslint and a few ZEIT references to Vercel 2020-07-13 15:05:34 +02:00
.gitattributes Add github actions 2020-01-12 08:36:51 +01:00
.gitignore add vscode workspace settings to .gitignore 2019-11-28 14:22:22 +01:00
.huskyrc.json split package.json to separate config files 2019-12-31 05:15:53 +01:00
.travis.yml Update CircleCI to use Node v12 2020-01-20 21:30:46 +01:00
.yarnrc Update .yarnrc 2020-02-17 16:26:24 +01:00
appveyor.yml run appveyor only for master and canary (#4678) 2020-06-22 18:56:16 +01:00
ava.config.js Update ava config and fix line endings 2020-01-20 21:30:46 +01:00
babel.config.json Switch to Terser 2020-01-22 17:16:54 +01:00
electron-builder.json add usage description for protected resources on mac 2020-06-18 10:55:38 +02:00
LICENSE Update eslint and a few ZEIT references to Vercel 2020-07-13 15:05:34 +02:00
package.json Bump spectron from 11.0.0 to 11.1.0 2020-07-19 00:07:50 +02:00
PLUGINS.md Update eslint and a few ZEIT references to Vercel 2020-07-13 15:05:34 +02:00
README.md Reorder section // match existing capitalization style 2020-07-08 19:14:34 +02:00
release.js fix prettier errors 2020-03-25 17:12:51 +01:00
tsconfig.base.json update tsc target to es2018 2019-12-18 15:57:12 +01:00
tsconfig.json port cli/ to ts 2019-12-16 18:57:44 +01:00
webpack.config.ts fix webpack config 2020-05-29 10:57:39 +02:00
yarn.lock Bump spectron from 11.0.0 to 11.1.0 2020-07-19 00:07:50 +02:00

Node CI macOS CI Status Windows CI status Linux CI status Changelog #213 Join the community on Spectrum

For more details, head to: https://hyper.is

Project goals

The goal of the project is to create a beautiful and extensible experience for command-line interface users, built on open web standards. In the beginning, our focus will be primarily around speed, stability and the development of the correct API for extension authors.

In the future, we anticipate the community will come up with innovative additions to enhance what could be the simplest, most powerful and well-tested interface for productivity.

Usage

Download the latest release!

Linux

Arch and derivatives

Hyper is available in the AUR. Use an AUR package manager like aurman

aurman -S hyper

NixOS

Hyper is available as Nix package, to install the app run this command:

nix-env -i hyper

macOS

Use Homebrew Cask to download the app by running these commands:

brew update
brew cask install hyper

Windows

Use chocolatey to install the app by running the following command (package information can be found here):

choco install hyper

Note: The version available on Homebrew Cask, Chocolatey, Snapcraft or the AUR may not be the latest. Please consider downloading it from here if that's the case.

Contribute

Regardless of the platform you are working on, you will need to have Yarn installed. If you have never installed Yarn before, you can find out how at: https://yarnpkg.com/en/docs/install.

  1. Install necessary packages:
  • Windows
    • Be sure to run yarn global add windows-build-tools from an elevated prompt (as an administrator) to install windows-build-tools.
  • macOS
    • Once you have installed Yarn, you can skip this section!
  • Linux (You can see here what your Linux is based on.)
    • RPM-based
      • GraphicsMagick
      • libicns-utils
      • xz (Installed by default on some distributions.)
    • Debian-based
      • graphicsmagick
      • icnsutils
      • xz-utils
  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Install the dependencies: yarn
  3. Build the code and watch for changes: yarn run dev
  4. To run hyper
  • yarn run app from another terminal tab/window/pane
  • If you are using Visual Studio Code, select Launch Hyper in debugger configuration to launch a new Hyper instance with debugger attached.
  • If you interrupt yarn run dev, you'll need to relaunch it each time you want to test something. Webpack will watch changes and will rebuild renderer code when needed (and only what have changed). You'll just have to relaunch electron by using yarn run app or VSCode launch task.

To make sure that your code works in the finished application, you can generate the binaries like this:

yarn run dist

After that, you will see the binary in the ./dist folder!

Known issues that can happen during development

Error building node-pty

If after building during development you get an alert dialog related to node-pty issues, make sure its build process is working correctly by running yarn run rebuild-node-pty.

If you are 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).

Error with c++ on macOS when running yarn

If you are getting compiler errors when running yarn add the environment variable export CXX=clang++

Error with codesign on macOS when running yarn run dist

If you have issues in the codesign step when running yarn run dist on macOS, you can temporarily disable code signing locally by setting export CSC_IDENTITY_AUTO_DISCOVERY=false for the current terminal session.