Project

ghostty-web

active

Ghostty terminal sessions in a browser — xterm.js compatibility.

Overview

Forked from coder/ghostty-web. Runs Ghostty's terminal parser in the browser through WebAssembly, with a TypeScript API modelled on xterm.js.

This fork adds renderer fixes and integration work for projects such as webterm and ios-linuxkit.

How it works

The browser loads Ghostty's terminal parser as a WebAssembly module. TypeScript code connects terminal input and output to the host application and renders the screen. The host supplies the session transport; ghostty-web is not a server-side Ghostty process.

In webterm, a Go backend manages PTY sessions and go-te produces server-side dashboard previews. Those services sit outside the browser terminal library.

Features
⚡
Ghostty in the browser

WebAssembly terminal parsing with a TypeScript frontend.

🔌
Familiar API

An xterm.js-compatible API for integrating terminal views into web applications.

🔗
Application integration

Used by webterm and ios-linuxkit, with rendering fixes maintained in this fork.

Architecture
Browser xterm.js TypeScript WS bridge Ghostty PTY native process
Posts