hyper README

The project's README from github.com/vercel/hyper. As one markdown file: README.md.

Node CI Changelog #213

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 e.g. paru

paru -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 install --cask 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 pnpm available. The recommended way is to enable it with Corepack: corepack enable pnpm.

  1. Install necessary packages:
  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Install the dependencies: pnpm install
  3. Build the code and watch for changes: pnpm run dev
  4. To run hyper

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

pnpm 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 pnpm 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 pnpm install

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

Error with codesign on macOS when running pnpm run dist

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

hyper (vercel/hyper)

Searching Database…

44.7K ·GitHub
Что это такое?Hyper — это эмулятор терминала, созданный на веб-технологиях (HTML, CSS, JavaScript/TypeScript) поверх Electron. Его цель — стать красивым и расширяемым интерфейсом командной строки.
Это приложение-терминал или библиотека, которую я бы встроил в свой проект?Это самостоятельное настольное приложение-терминал на основе Electron и React, а не библиотека, которую можно импортировать в другой код.
Как установить и запустить?Скачайте последний релиз для своей платформы или установите через менеджеры пакетов: Homebrew Cask на macOS, Chocolatey на Windows, а также AUR, Nix или Snapcraft на Linux.
Есть ли известные подводные камни при сборке самому?Известные проблемы: ошибки сборки node-pty (исправляются командой pnpm run rebuild-node-pty), ошибки компилятора C++ при установке на macOS (нужна переменная CXX=clang++) и ошибки codesign при запуске pnpm run dist.
На каких платформах работает Hyper?Hyper работает на Linux, macOS и Windows, для каждой системы есть отдельная инструкция по установке.
Можно ли расширять Hyper плагинами и темами?Да, Hyper поддерживает API расширений, есть примеры расширений и тем. Также в README упоминается список «Awesome Hyper» с сообщественными плагинами и темами.
Зачем делать терминал на веб-технологиях, а не нативное приложение?Цель проекта — дать веб-разработчикам возможность расширять и настраивать терминал с помощью знакомых открытых веб-стандартов (HTML/CSS/JS), а не нативных инструментов. Приоритеты — расширяемость и единый кроссплатформенный интерфейс.
Какая последняя версия точно будет работать?Версии в менеджерах пакетов (Homebrew Cask, Chocolatey, Snapcraft, AUR) могут отставать, поэтому в README рекомендуется скачивать самый свежий релиз напрямую со страницы релизов проекта.
What are similar projects?upterm, edex-ui, tabby, pear-desktop, wezterm, dsh-pet, nylas-mail, Motrix
Creator
vercel
Size
22.9 MB
Stars
44.7K
Age
10y
Commits · 90 Days