Ghostty-web
lastmod 2025-12-04created 2025-12-042 edits
A web terminal compatible with the xterm.js API, built by compiling Ghostty to WASM
About
- Ghostty-web is a VT100-compatible terminal emulator that runs in the browser and can be used the same way as the xterm.js API
- Uses the Ghostty parser compiled to WASM, providing the same code base as the native app, with no runtime dependencies
- Existing xterm.js projects can migrate just by changing @xterm/xterm to ghostty-web
- Provides more accurate handling than xterm.js in areas such as complex script rendering and support for XTPUSHSGR/XTPOPSGR sequences
- A tool that can simplify implementing high-performance terminals in browser-based development environments, cloud IDEs, and the like