Experience blazing-fast terminal performance with GPU acceleration and platform-native UI. Cross-platform compatibility meets modern design.

At a Glance:

Ghostty is a fast, cross-platform terminal emulator that combines competitive performance, native GUI experiences, and standards-compliant emulation, and also provides libghostty, a C-compatible library for embedding terminal functionality into other applications.

Overview:

Ghostty is a terminal emulator that prioritizes speed, feature-rich terminal emulation, and native platform experiences without compromise. It distinguishes itself by delivering competitive performance comparable to the fastest emulators while supporting a wide array of modern and legacy control sequences, including the Kitty graphics protocol and synchronized rendering. The project also includes libghostty, a zero-dependency library for embedding terminal emulators into third-party applications, with libghostty-vt available for Zig and C. It is designed for macOS and Linux users who want a performant, visually native app with rich windowing features like multi-window, tabbing, and splits.

Key Decision Points:

  • Native GUI and embeddable library: Ghostty is a standalone native GUI application for macOS (SwiftUI) and Linux (GTK), while libghostty allows developers to embed its core terminal functionality into other projects.

  • Performance-focused architecture: It uses a multi-threaded design with dedicated read, write, and render threads per terminal, leveraging Metal on macOS and OpenGL on Linux for rendering.

  • Protocol compliance approach: Terminal behavior is defined by a strict hierarchy—official standards first, then xterm compatibility, followed by other popular emulators—resulting in broad support for both legacy and modern control sequences.

  • Platform-native integration: The macOS app deeply integrates with system features like AppleScript, App Shortcuts, and CoreText, while the Linux build integrates with systemd for features like cgroup isolation and single-instance windows.

  • Crash report data handling: Crash reports are stored locally and require a manual step to upload; they are not sent off the machine automatically and may contain sensitive information from thread stack memory.

Core Features:

  • Standards-compliant terminal emulation: Implements all regularly used control sequences and has undergone a comprehensive xterm audit for legacy sequence conformance, enabling it to run mainstream terminal programs.

  • Modern sequence support: Supports advanced protocols such as the Kitty graphics and image protocols, clipboard control, synchronized rendering, and light/dark mode notifications.

  • Rich windowing features: The GUI applications support multi-window management, tabbing, splits, tab renaming, and tab coloring for organizing terminal sessions.

  • libghostty for embedding: A cross-platform, zero-dependency C and Zig library that allows other projects to integrate a high-performance terminal emulator or parse terminal styles.

  • Local crash reporting: A built-in crash reporter generates .ghosttycrash files in the Sentry envelope format, saved to disk for manual inspection and upload.

Use Cases:

  • Developers seeking a fast, native terminal emulator on macOS or Linux that does not compromise on modern features like image display or split panes.

  • Software projects that need to embed a terminal emulator component, using libghostty or libghostty-vt for integrating terminal state management and sequence parsing.

  • Mac users who want a terminal app with deep platform integration, including SwiftUI menus, AppleScript, and Metal rendering.

Open-Source Alternative Value:

As an open-source project, Ghostty provides access to its full terminal emulator codebase and its embeddable libghostty library, allowing developers to inspect the architecture, contribute to its development, or integrate its parsing and rendering capabilities into their own applications. The availability of libghostty as a separate C and Zig library offers a reusable component for building terminal functionality without external dependencies. Its approach to protocol compliance is guided by a documented hierarchy of standards, xterm, and other emulators, making its behavior predictable and auditable.

TeilenXLinkedInReddit

Ähnliche Tools

Projektstatistiken

Sterne

56,809

Forks

2,934

Lizenz

MIT

Metadaten

Alternative zu
Warp