Forked from coder/ghostty-web. Adapted for integration with webterm and go-te for AI agent terminal workflows.
ghostty-web runs Ghostty in server mode, proxies sessions to a browser via WebSocket, and implements an xterm.js-compatible API. Shares go-te with webterm and go-rdp.
Ghostty runs server-mode connected to a Unix socket. The Go server proxies to WebSocket and translates protocols. The TypeScript frontend implements the xterm.js ITerminalAddon interface so existing extensions work unchanged. go-te maintains server-side terminal state for tile previews and copy-on-select.
Server-side Ghostty. Browser gets output over WebSocket.
Existing xterm.js tooling works unchanged.
go-te used by webterm, go-rdp, and ghostty-web.