Hyper

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

Github星跟蹤圖

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

相关资料库

主要指標

概覽
名稱與所有者vercel/hyper
主編程語言TypeScript
編程語言JavaScript (語言數: 6)
平台Linux, Mac, Windows
許可證MIT License
所有者活动
創建於2016-07-01 06:01:21
推送於2024-08-14 03:32:57
最后一次提交2023-12-10 21:02:14
發布數125
最新版本名稱v4.0.0-canary.5 (發布於 )
第一版名稱0.1.0 (發布於 2016-07-01 18:18:22)
用户参与
星數43.9k
關注者數485
派生數3.5k
提交數4.1k
已啟用問題?
問題數3809
打開的問題數937
拉請求數3291
打開的拉請求數78
關閉的拉請求數777
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

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.