Hyper

基于 web 技术的终端。(A terminal built on web technologies)

Github stars Tracking Chart

Hyper

HTML/JS/CSS 终端。

欲知详情,请前往: https://hyper.is

用法

下载最新版本!

Linux

Arch 及衍生品

Hyper 在 AUR 中可用。使用类似 aurman 的 AUR 包管理器。

aurman -S hyper

macOS

如果您使用的是 macOS,则可以使用 Homebrew Cask 运行这些命令下载应用程序

brew update
brew cask install hyper

Windows

使用 chocolatey 运行以下命令安装应用程序(包信息可以在这里找到)

choco install hyper

注意: Homebrew CaskChocolateySnapcraft 或者 AUR 可能不是最新的。如果是这种情况,请考虑从此处下载它。

贡献

无论您正在使用哪个平台,您都需要安装 Yarn。如果您以前从未安装过 Yarn,可以通过以下网址了解如何: https://yarnpkg.com/en/docs/install

相关资料库

Overview

Name With Ownervercel/hyper
Primary LanguageTypeScript
Program languageJavaScript (Language Count: 6)
PlatformLinux, Mac, Windows
License:MIT License
Release Count125
Last Release Namev4.0.0-canary.5 (Posted on )
First Release Name0.1.0 (Posted on 2016-07-01 18:18:22)
Created At2016-07-01 06:01:21
Pushed At2024-05-13 11:59:29
Last Commit At2023-12-10 21:02:14
Stargazers Count42.7k
Watchers Count480
Fork Count3.5k
Commits Count4.1k
Has Issues Enabled
Issues Count3741
Issue Open Count888
Pull Requests Count3291
Pull Requests Open Count58
Pull Requests Close Count722
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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

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

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

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.

To the top