Skip to content
diegoleteliers10Public

About

GPU-accelerated terminal emulator in Rust.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Repository files navigation

Fastty

Fastty Logo

Fast, GPU-accelerated terminal emulator built with Rust & GPUI

Fastty is a modern, high-performance terminal emulator designed for speed, low memory usage, and seamless developer workflows across macOS, Linux, and Windows.

Key Features

  • GPU-Accelerated Rendering: Fast layout and rasterization powered by GPUI and Metal/Vulkan.
  • TUI & CLI Compatibility: Pixel-perfect rendering for OpenCode, Claude Code, lazygit, htop, and complex box-drawing/block ASCII art.
  • Kitty Keyboard Protocol: Progressive enhancement (CSI > u / CSI < u / CSI = u), repeat and release events, alternate keys, and associated text — full modifier fidelity for agent CLIs and modern TUIs.
  • Inline Graphics: Kitty graphics protocol and Sixel in the same image pipeline.
  • Modern Tab System: Underline selection styling, double-click/right-click tab renaming (⌘⇧R / Ctrl+Shift+R), duplicate tab, dynamic process title updates, and per-tab OSC 9;4 progress bars.
  • Local IPC Daemon Protocol: Built-in multiplexer server via Unix domain socket (fasttyd.sock). List live sessions, attach remotely (over SSH tunnels), or integrate with Neovim, Zed, and VS Code plugins.
  • Native Web Gateway & Fastty-Wasm: Embedded zero-dependency HTTP & WebSocket server (fastty gateway) and pure WebAssembly VT emulator to access your active terminals from any browser, tablet, or mobile device.
  • Cross-Platform: First-class support for macOS, Linux (Wayland/X11), and Windows with automatic shell detection (zsh, fish, bash, powershell, pwsh, cmd).
  • Built-in Status Bar & Git Integration: Branch indicator, worktree switcher (⌘⌥W / Ctrl+Alt+W), sync status, and command execution timer.
  • Native OpenCode Agent: Run OpenCode through ACP with tab-scoped sessions, streamed tool activity, model discovery, and permission prompts.
  • Command Palette & SSH Manager: Fast command navigation (⌘P / Ctrl+Shift+P) and SSH connection manager (⌘O / Ctrl+Shift+O).
  • Config & Theming: TOML configuration (fastty.toml) with live reload and 20 built-in themes — Catppuccin (Mocha/Frappé/Macchiato/Latte), Dracula, Nord, Tokyo Night, Gruvbox, Rosé Pine, One, Solarized, Kanagawa — including light variants, plus user JSON themes in themes/.
  • Silence Notifications: notify_on_silence_seconds fires one notification when a running command goes quiet for that long while the window is not focused.

Daemon Protocol & Web Gateway

Fastty includes a built-in session multiplexer and an embedded web server accessible via the CLI:

CLI Subcommands

# List all active tabs and splits with PID, CWD, and window title
fastty sessions

# The same, against a remote host (over an SSH tunnel)
fastty sessions --remote user@server

# Watch session changes in real time (reactive stream)
fastty sessions --watch

# Attach interactively to an existing session
fastty attach <session-id>

# Attach to a session on a remote machine
fastty attach --remote user@server <session-id>

# Attach in read-only mode (viewing logs/builds without input interference)
fastty attach <session-id> --read-only

# Wait for a session to become available before attaching
fastty attach <session-id> --wait=30

# Supervised host: starts at login, restarts after a crash,
# and keeps sessions alive across app upgrades
fastty host install     # macOS: launchd agent · Linux: systemd user unit
fastty host status
fastty host uninstall

Web Gateway & Browser Access

Launch the native, zero-dependency web gateway:

# Start web gateway on default port 8765
fastty gateway

# Bind to custom port and network interface (e.g. for Tailscale or LAN access)
fastty gateway --port 8765 --host 0.0.0.0

# Enforce read-only access for all connected browsers
fastty gateway --port 8765 --read-only

Then visit http://localhost:8765 in your browser. The embedded WebAssembly engine (fastty-wasm) provides:

  • Batched 60/120 FPS HTML5 Canvas 2D rendering.
  • Interactive scrollback buffer, mouse wheel, and touch navigation.
  • Dynamic font size zoom controls and real-time tab switching.

See docs/daemon-protocol.md for the complete JSON IPC protocol specification.

See Report program status for OSC 7501 and native notification settings. See Agent integrations to install status adapters for OpenCode, Hermes, Claude Code, Gemini CLI, Pi, and Codex.


Installation

Quick Install

macOS & Linux

curl -fsSL https://raw.githubusercontent.com/diegoleteliers10/fasty/main/instalar.sh | bash

Windows (PowerShell)

irm https://raw.githubusercontent.com/diegoleteliers10/fasty/main/instalar.ps1 | iex

Homebrew (macOS)

brew tap diegoleteliers10/fasty https://github.com/diegoleteliers10/fasty
brew install --cask fastty

Or install directly from the Cask URL without tapping:

brew install --cask https://raw.githubusercontent.com/diegoleteliers10/fasty/main/Casks/fastty.rb

Manual Installation

Download the latest pre-compiled archive for your platform from Releases:

  • macOS (Apple Silicon & Intel): Download fastty-aarch64-apple-darwin.dmg or fastty-x86_64-apple-darwin.dmg, open it, and drag Fastty.app to Applications. (Alternatively, extract the matching .tar.gz and move Fastty.app to /Applications/ yourself.)
  • Windows: Run Fastty_<version>_x64.msi for a standard installer (adds Fastty to the Start Menu and to Settings > Apps / Control Panel > Programs and Features for clean uninstalling). It installs per-user under %LOCALAPPDATA%\Programs\Fastty, so it needs no administrator rights to install or to self-update later. Alternatively, extract fastty-x86_64-pc-windows-msvc.zip and place fastty.exe in your PATH.
  • Linux (Debian/Ubuntu): sudo dpkg -i fastty_<version>_amd64.deb (or double-click it in a graphical file manager). Installs the binary, a desktop menu entry, and icon. Update it the same way apt/dpkg updates any package (see Updates below).
  • Linux (any distro): Download Fastty_<version>_amd64.AppImage, chmod +x it, and run it directly — no installation required.
  • Linux (manual): Extract fastty-x86_64-unknown-linux-gnu.tar.gz and place fastty into ~/.local/bin/.

Note for macOS: Fastty uses ad-hoc code signing. Installing via Homebrew or instalar.sh automatically configures macOS Gatekeeper permissions. If you download the DMG directly through a browser and macOS reports the app as damaged or unverified, run this command once:

xattr -cr /Applications/Fastty.app

Updates

Fastty checks GitHub's latest release on startup and shows an in-app "vX.Y.Z" button when a newer one exists. What happens when you click it depends on how Fastty got installed — the same split that Zed and Ghostty make between their own self-updater and a system package manager's:

Install method Update path
.tar.gz / .zip (manual/instalar.sh) Self-updates in place
.dmg (drag to Applications) Self-updates in place
Homebrew Cask brew upgrade --cask fastty (self-update is disabled so it doesn't desync brew's own record)
.msi (per-user) Self-updates in place (no admin needed, same as the install)
.deb sudo apt update && sudo apt upgrade fastty (self-update is disabled — the binary is owned by dpkg)
.AppImage Download the newest Fastty_*.AppImage manually (AppImages can't persist a self-replace across restarts)

When self-update isn't available, clicking the update button shows a modal explaining how to update instead of trying (and possibly failing) to overwrite files it doesn't own. Third-party packagers (AUR, Nix, Flatpak, ...) can force this behavior with their own message by setting the FASTTY_UPDATE_EXPLANATION environment variable when launching Fastty, the same escape hatch Zed exposes as ZED_UPDATE_EXPLANATION.


Build from Source

# Clone the repository
git clone https://github.com/diegoleteliers10/fasty.git
cd fasty

# Build in release mode
cargo build --release

# Build WebAssembly package
cargo build --target wasm32-unknown-unknown -p fastty-wasm --release

# The compiled binary is located at target/release/fastty

Releasing

A release starts from a pull request merge into main. The automation tags the merge commit, builds every platform, and publishes the GitHub Release. See docs/releasing.md for the full process.


Configuration

Fastty uses the first existing file in this order:

  1. $XDG_CONFIG_HOME/fastty/, when XDG_CONFIG_HOME is set.
  2. The platform user directory:
    • macOS: ~/Library/Application Support/fastty/
    • Linux: ~/.config/fastty/
    • Windows: %APPDATA%\fastty\config\
  3. ~/.config/fastty/, then ~/.fastty.toml.
  4. ./fastty.toml in the startup directory.
  5. /etc/fastty/.

In each directory, Fastty checks config.toml before fastty.toml. The startup directory only supports fastty.toml. Fastty keeps the selected absolute path for the process lifetime. An invalid selected file does not select another file.

Example config.toml

theme = "default"
opacity = 1.0
scrollback = 1000
session_restore = true
copy_on_select = false
notify_on_command_finish = true
notify_on_ai_status = true
notify_on_program_status = true

[font]
family = "monospace"
size = 14.0
weight = 400.0
ligatures = true

[bottombar]
enabled = true
layout = "balanced"
left_widgets = ["git_branch", "git_status"]
right_widgets = ["cwd", "duration", "exit_code"]

[keybindings]
# Custom shortcuts can be specified here

macOS menu bar

The native menu bar provides Fastty, Terminal, Edit, View, Window, and Help menus. Terminal commands use the active window and pane. Edit commands use the active supported text field or terminal selection. Menu shortcuts follow your keybinding settings. Unavailable terminal commands are disabled in Settings and input dialogs.

Quit Fastty preserves hosted sessions. Close Pane and Close Tab end their sessions.

Keyboard Shortcuts

Action macOS Linux / Windows
New Tab ⌘T Ctrl+Shift+T
Close Tab ⌘W Ctrl+Shift+W
Rename Tab ⌘⇧R Ctrl+Shift+R
Next / Previous Tab ⌘⇧] / ⌘⇧[ Ctrl+Tab / Ctrl+Shift+Tab
Command Palette ⌘P Ctrl+Shift+P
SSH Manager ⌘O Ctrl+Shift+O
Git Worktrees ⌘⌥W Ctrl+Alt+W
Project Jumper ⌘J Ctrl+Shift+J
Universal Insert ⌃⌘, Ctrl+Super+,
Search in Scrollback ⌘F Ctrl+F
Settings ⌘, Ctrl+,
Clear Scrollback ⌘K Ctrl+Shift+K
Zoom In / Out / Reset ⌘+ / ⌘- / ⌘0 Ctrl+Plus / Ctrl+Minus / Ctrl+0

Right-click opens the terminal menu in each pane, including restored panes. If a terminal program captures the mouse, hold Option on macOS or Alt on Linux and Windows while you right-click to send the click to that program.


License

MIT License. See LICENSE for details.

About

GPU-accelerated terminal emulator in Rust.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages