8000 GitHub - Zakkaus/sumie: GPU-accelerated terminal emulator for Linux (Wayland) and macOS · GitHub
[go: up one dir, main page]

Skip to content
ZakkausPublic

About

GPU-accelerated terminal emulator for Linux (Wayland) and macOS

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

sumie

繁體中文

sumie is a GPU terminal emulator for Linux Wayland and macOS, written in Rust. It uses libghostty-vt for terminal emulation and wgpu for rendering: Vulkan or OpenGL ES on Linux, Metal on macOS.

sumie is a preview. Expect rough edges and changes between versions.

Download

Version 0.1.5:

Platform File
Linux x86_64 sumie-0.1.5-x86_64-linux.tar.gz
Linux aarch64 sumie-0.1.5-aarch64-linux.tar.gz
macOS, Apple silicon sumie-0.1.5-aarch64-macos.dmg

Check the files against SHA256SUMS. Other versions are on the releases page. Install covers setup and the macOS Gatekeeper warning.

sumie on macOS with the title bar in the terminal background, running fastfetch under a Starship prompt

Features

  • Runs your login shell on Linux Wayland and Apple silicon macOS.
  • Numbered tabs and split panes with directional focus and zoom; Linux also resizes panes from the keyboard.
  • Smooth scrollback and search that matches across soft wraps.
  • Text selection, clipboard shortcuts and clickable links, with primary selection on supported Wayland compositors.
  • In-place input method composition on both platforms. Fractional scaling on supported Wayland compositors.
  • Kitty graphics with direct and local shared-memory transfers, animated images and configurable thumbnails.
  • Shell integration for bash, zsh and fish, with working-directory inheritance for new tabs and panes.
  • Desktop notifications on Wayland and OSC 9;4 progress on both platforms.
  • Live-reloading TOML configuration, a settings editor and import of Ghostty fonts, colors and shortcuts.
  • English, Traditional Chinese, Simplified Chinese and Japanese interface languages.
  • Configurable background opacity and blur, on macOS and on supported Wayland compositors.

Install

Download an archive from the releases page and check it against SHA256SUMS.

Linux. sumie-VERSION-x86_64-linux.tar.gz and sumie-VERSION-aarch64-linux.tar.gz hold the binary, the terminfo source, the shell-integration scripts, a desktop entry and the icons. Unpack the tarball and run ./sumie from the extracted directory. It needs a Wayla 940E nd compositor; there is no X11 backend.

To add sumie to the application menu, run these commands from the extracted directory:

install -Dm755 sumie "$HOME/.local/bin/sumie"
mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}"
cp -R share/. "${XDG_DATA_HOME:-$HOME/.local/share}/"

Make sure ~/.local/bin is on the desktop session's PATH.

The Linux build needs libwayland-client.so.0, libxkbcommon.so.0 and libfontconfig.so.1. It uses Vulkan by default (libvulkan.so.1 and a Vulkan driver) and falls back to OpenGL ES 3 (libEGL.so.1, libwayland-egl.so.1 and a driver) if Vulkan cannot create a surface or find a compatible adapter. Set SUMIE_GPU_BACKEND=gl to use OpenGL ES 3 directly. Install tic from ncurses for xterm-sumie support.

macOS. sumie-VERSION-aarch64-macos.dmg is for Apple silicon only. Open it and drag sumie.app to Applications. Releases after 0.1.4 are signed with sumie's own self-signed certificate, earlier ones ad hoc. Neither is a Developer ID signature and the app is not notarized, so macOS quarantines it after a download. Do one of the following:

  • Open the app once, dismiss the warning, then open System Settings, Privacy & Security and choose Open Anyway next to sumie.
  • Or remove the quarantine flag: xattr -dr com.apple.quarantine /Applications/sumie.app.

If you granted 0.1.4 or earlier Screen Recording or Accessibility, reset both grants once, then grant them again when macOS asks:

tccutil reset ScreenCapture io.github.zakkaus.sumie
tccutil reset Accessibility io.github.zakkaus.sumie

Every later release is signed with the same certificate, so updates keep both grants.

Only macOS 26 and 27 are tested. The deployment target is macOS 13.0.

First steps

sumie keeps its settings in ~/.config/sumie/sumie.toml on both Linux and macOS ($XDG_CONFIG_HOME/sumie/sumie.toml when that variable is set). The first start writes this file with every setting commented out at its default, and the first window names the file on its top row.

To change a setting, use either entry point:

  • The settings editor saves each change immediately. To open it in any terminal, run:

    sumie config

    Press Cmd+, on macOS or Ctrl+, on Linux to open it in a new tab; use ↑/↓ to select, ←/→ to change values and / to search.

    Settings editor with numbered category tabs, arrow controls and a description pane

  • Edit sumie.toml: uncomment a line, change the value and save. sumie applies the change without a restart.

For example, to change the font, the colors and the background opacity:

[font]
family = "JetBrains Mono"
size = 14.0 # points: 1 px each on macOS, 96 DPI on Linux

[colors]
foreground = "#ffffff"
background = "#122738"

[window]
background-opacity = 0.8 # default 0.9; 1.0 is opaque

docs/configuration.md lists every setting with its type and default.

Usage

Action Linux macOS
Copy, paste Ctrl+Shift+C, Ctrl+Shift+V Cmd+C, Cmd+V
New tab Ctrl+Shift+T Cmd+T
New window Ctrl+Shift+N Cmd+N
Split right, split down Ctrl+Shift+E, Ctrl+Shift+O Cmd+E, Cmd+O
Focus a neighbouring pane Ctrl+Shift+Arrow Cmd+Arrow
Close the focused pane Ctrl+Shift+W Cmd+W
Search Ctrl+Shift+F Cmd+F
Open settings Ctrl+, Cmd+,

docs/usage.md describes selection, links, search, tabs and panes, font size, input methods, shell integration, scrolling, mouse reporting and images. docs/configuration.md is the settings reference.

Build and checks

The workspace needs Rust 1.96 or later and Zig 0.17 (on PATH or set ZIG). The VT crate uses curl, tar, and shasum to fetch, verify, and unpack Ghostty on the first build. On Linux, install pkg-config and the Wayland and xkbcommon development files (libwayland-dev and libxkbcommon-dev on Debian and Ubuntu). On macOS, install the Xcode command line tools. Run cargo build --workspace --locked from the repository root.

With Git, Python 3.11 or newer, rustfmt, and Clippy available, run scripts/check-all.sh from the repository root. Use --fast to skip the probes that temporarily edit source files. See ARCHITECTURE.md for the crate boundaries and hook setup.

License

GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).

About

GPU-accelerated terminal emulator for Linux (Wayland) and macOS

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0