Something went wrong. Try again.
Ghostty for the web with xterm.js API compatibility
Something went wrong. Try again.
README.md
@ghostty-web/demo #
Cross-platform demo server for ghostty-web terminal emulator.
Quick Start #
npx @ghostty-web/demo@next
This starts a local web server with a fully functional terminal connected to your shell. Works on Linux and macOS (no Windows support yet).
What it does #
- Starts an HTTP server on port 8080 (configurable via
PORTenv var) - Starts a WebSocket server on port 3001 for PTY communication
- Opens a real shell session (bash, zsh, etc.)
- Provides full PTY support (colors, cursor positioning, resize, etc.)
Usage #
# Default (port 8080)
npx @ghostty-web/demo@next
# Custom port
PORT=3000 npx @ghostty-web/demo@next
Then open http://localhost:8080 in your browser.
Security Warning #
⚠️ This server provides full shell access.
Only use for local development and demos. Do not expose to untrusted networks.