ghostty-webgpu

An unofficial Ghostty for the web.

libghostty-vt compiled to WebAssembly, drawn by a damage-aware WebGPU renderer, behind an xterm-shaped API. Open the Shell tab to type into it.

npm install ghostty-webgpu
loading

Only what changed is drawn. The renderer tracks damage per cell, so an idle terminal costs nothing and a busy one costs only its busy rows.

Falls back on its own. WebGPU first, then WebGL2, then Canvas2D, with the same output. This page is drawing with a renderer it is still choosing.

Speaks xterm. Import ghostty-webgpu/xterm for the familiar constructor, options, and addon shape, or use the native API and keep PTY traffic as bytes end to end.