Scripts2026年5月17日·1 分钟阅读

Hyper — Hackable Electron-Based Terminal Emulator

A cross-platform terminal emulator built on web technologies that supports plugins and themes via npm packages for full customization.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Hyper Overview
通用 CLI 安装命令
npx tokrepo install 182e2362-51eb-11f1-9bc6-00163e2b0d79

Introduction

Hyper is an Electron-based terminal emulator built by Vercel that treats terminal UI as a web rendering surface. It uses HTML, CSS, and JavaScript for its interface, making it extensible through a rich plugin ecosystem distributed via npm.

What Hyper Does

  • Provides a fully functional terminal emulator with tabs, splits, and session management
  • Supports themes and plugins installed through hyper CLI or configuration file
  • Renders terminal output using xterm.js with GPU-accelerated WebGL
  • Offers cross-platform consistency across macOS, Windows, and Linux
  • Enables deep customization of appearance and behavior via JavaScript config

Architecture Overview

Hyper runs on Electron with a React-based UI layer. The terminal backend uses node-pty to spawn shell processes, while xterm.js handles terminal emulation and rendering in a WebGL canvas. Plugins hook into the Redux store and React component tree, allowing them to modify any aspect of the UI or behavior.

Self-Hosting & Configuration

  • Edit ~/.hyper.js to configure font, colors, shell, and plugins
  • Install plugins via command line: hyper install hyper-snazzy
  • Set shell and shellArgs to customize the default shell program
  • Configure webGLRenderer: true for GPU-accelerated rendering
  • Keymaps are fully configurable in the keymaps section of .hyper.js

Key Features

  • npm-based plugin ecosystem with hundreds of community extensions
  • Hot-reloading configuration without restarting the terminal
  • Built-in update mechanism for seamless version upgrades
  • Vibrancy and transparency support on macOS
  • Full Unicode and emoji rendering through web font stack

Comparison with Similar Tools

  • Alacritty — GPU-native, faster but no plugin system or tabs built-in
  • kitty — C-based with better performance but less web-ecosystem integration
  • WezTerm — Lua-configured with multiplexing; more resource-efficient
  • Windows Terminal — Microsoft-native, faster on Windows but no cross-platform
  • iTerm2 — macOS-only with more mature features but not extensible via npm

FAQ

Q: Is Hyper slower than native terminal emulators? A: Electron adds overhead compared to GPU-native terminals, but WebGL rendering in recent versions significantly improved performance.

Q: How do I install themes? A: Run hyper install theme-name or add the package name to the plugins array in ~/.hyper.js.

Q: Can I use Hyper as my daily driver for development? A: Yes, many developers use it daily. For heavy terminal workloads (large log streams), GPU-native alternatives may feel smoother.

Q: Does Hyper support tmux? A: Yes, tmux runs inside Hyper like any other terminal program. Hyper also has its own split-pane plugins.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产