WeTTY serves a web terminal that connects over SSH or local login, using xterm.js in the browser and WebSockets for responsive I/O.
Overview
WeTTY exposes a TTY session inside a web browser over HTTP or HTTPS. It renders the terminal with xterm.js and uses WebSockets instead of AJAX polling for lower latency than older browser-terminal projects.
When started as root it can launch /bin/login; otherwise it defaults to SSH against localhost or a configured remote host, port, and user. Operators must set allowed browser origins explicitly for security, including behind reverse proxies.
A published Docker image and documentation cover reverse-proxy setups with nginx or Traefik, HTTPS, daemon mode, automatic login, and file download helpers. Node.js prerequisites are listed for building from source.
Clients include any browser supported by xterm.js, making WeTTY useful for jump-host access without installing a local terminal app.
Key features
- xterm.js full terminal emulation
- SSH or local login sessions
- WebSocket-backed streaming
- Configurable allowed origins
- Docker image distribution
- Reverse proxy documentation
Use cases
- Remote shell through a browser
- Lightweight bastion-style access
- Classroom or lab terminal sharing