Skip to content

WeTTY

Browser-based terminal over HTTP or HTTPS for SSH access from any device

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

72

Health

Active

Overview

Stars

5,488

Last commit

4 days ago

Nov 2026

Repository age

12 years

since Mar 2014

Latest version

v4.2.1

Oct 2026

Contributors

–

8 active in 90 days

Releases

20

last 12 months

Docker pulls

2.1M

butlerx/wetty

Language

TypeScript

WeTTY gives you a terminal in your web browser. It runs a Node.js server that serves xterm.js, a full terminal emulator in JavaScript, and talks to the browser over websockets rather than Ajax. It is MIT licensed and written in TypeScript.

By default it launches the login program if run as root, or ssh to localhost otherwise. You can point it at a remote host with the ssh-host, ssh-port and ssh-user options, and configure SSL keys, a window title and password or public-key authentication. You must set an allowed browser origin when you start it.

Install it with npm, or use the Docker image, which has over 2 million pulls. Running it behind a reverse proxy such as nginx-proxy or Traefik is recommended for HTTPS. The project began in 2014 and still sees regular releases. It is an alternative to older tools like ajaxterm and anyterm.

Who it's for

Sysadmins who need SSH from a browser

You can reach servers from any machine without installing an SSH client.

Skip if: You always work from machines that already have a native terminal.

Homelab users with a reverse proxy

It ships as a Docker image with Traefik example files.

Skip if: You do not want to expose a terminal service to a network.

Teams building web-based admin tools

It is a small MIT-licensed server built on xterm.js.

Skip if: You need session recording or multi-user access control built in.

The problem it solves

You sometimes need a shell on a server from a device with no SSH client, such as a locked-down laptop or tablet. WeTTY serves the terminal in a browser tab.

Strengths

  • Uses xterm.js with websockets for responsive terminal behavior
  • MIT license with no copyleft obligations
  • Docker image with over 2 million pulls
  • Flags for SSL, SSH host, port, user and auth method
  • Active: 20 releases in the last year, latest v4.2.1

Trade-offs

  • Requires a specific recent Node.js version plus make, python and build tools
  • You must configure an allowed origin before it starts
  • Exposing a web terminal needs careful HTTPS and proxy setup

Self-host WeTTY

Self-hostable
Yes
Docker image
butlerx/wetty
Docker Compose
The repository ships a Compose file

Quick start

npm -g i wetty

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is WeTTY free?

Yes. It is MIT licensed and free to run and modify.

Can I run it in Docker?

Yes. Run the wettyoss/wetty image, set ALLOWEDORIGINS and pass the ssh-host option.

How do I connect to a remote host?

Use the ssh-host option, plus ssh-port and ssh-user if needed.

Should I put it behind a proxy?

Yes, a reverse proxy is recommended for HTTPS, for example nginx-proxy or Traefik.

Similar tools in Terminal emulators

Zellij

Terminal emulators

Terminal workspace with panes, tabs and layouts for developers who live in the shell

36k 1.6k today Thriving MIT

Rio

Terminal emulators

GPU-accelerated terminal emulator in Rust for Linux and macOS users

7.8k 394 yesterday Thriving MIT

Termux

Terminal emulators

Android terminal emulator and Linux environment that runs on the phone itself

66k 8.4k 2 months ago Slowing GPL-3.0-only

Warp

Terminal emulators

Rust-based terminal for developers who want a modern, GPU-era shell on macOS and Linux

66k 5.8k today Active AGPL-3.0

iTerm 2

Terminal emulators

Terminal emulator for Mac users who want more than the built-in Terminal app

18k 1.6k today Slowing GPL-2.0

Kitty

Terminal emulators

GPU-accelerated terminal emulator for people who work in the command line all day

36k 1.6k today Thriving GPL-3.0