# coder/ghostty-web

Ghostty for the web with xterm.js API compatibility

Repository: https://github.com/coder/ghostty-web
Canonical: https://ross.abutalabs.com/products/ghostty-web
Language: TypeScript
License: MIT
License Family: permissive
Topics: browser, ghostty, library, terminal
Last push: 2026-07-02T06:09:12+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 28, longevity 21
- inputs: {"age_days": 296, "days_push": 62, "days_rel": 267, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2746, forks 164 (observed 2026-08-28T04:07:16.661619+00:00)

## What it is
A web-based terminal emulator library that compiles Ghostty's native VT100 parser to WebAssembly and exposes an xterm.js-compatible API. It lets web apps render a real terminal with proper Unicode grapheme handling by swapping the import from @xterm/xterm to ghostty-web.

## Use cases
- embed a terminal emulator in a browser-based IDE or web app
- replace xterm.js with a more accurate VT100 implementation
- render complex scripts like Devanagari or Arabic correctly in a web terminal
- build a browser SSH or shell client
- add terminal output panels to agentic coding tools
- support XTPUSHSGR/XTPOPSGR escape sequences in a web terminal

## When to choose
- you need xterm.js API compatibility with better Unicode and escape-sequence fidelity
- you want the same battle-tested emulator code as native Ghostty in the browser
- you prefer a zero-runtime-dependency WASM bundle over a JS reimplementation

## When to avoid
- you need xterm.js addons or its broader ecosystem of plugins
- bundle size of ~400KB WASM is unacceptable for your app
- you rely on xterm.js features not yet implemented in ghostty-web

## Facets
- artifact type: library
- maturity: active
- function: terminal-ui, parser, wasm
- domain: developer-tools, web-development
- platform: browser, wasm
- tags: terminal-emulator, xtermjs-compatible, vt100, ghostty, drop-in-replacement, command-line, nodejs, typescript

## Member repositories
- coder/ghostty-web (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.661619+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:19:02.806643+00:00, confidence not recorded.
  - readme: https://github.com/coder/ghostty-web (fetched 2026-08-28T04:07:16.661619+00:00, sha a0f890180b97)
  - registry_npm: https://registry.npmjs.org/ghostty-web (fetched 2026-08-29T09:57:18.391649+00:00, sha b888715c94d1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
