qmetrics.net

ttyd

Command-line tool to share terminals in the browser

ttyd screenshot

ttyd exposes a shell or custom command over HTTP and WebSockets with optional authentication and SSL.

Overview

ttyd is a small program that shares a terminal session over the web. You start it with a command and options, and clients connect through modern browsers using an Xterm.js-based terminal with CJK and IME support.

The server builds on libwebsockets and libuv. It can enforce basic credentials, bind specific interfaces or UNIX sockets, limit clients, run read-only sessions, and terminate SSL with OpenSSL. ZMODEM file transfer integrates with lrzsz when configured.

Packaging covers macOS via Homebrew, Debian and Ubuntu packages, snap, OpenWrt opkg, and static binaries from releases, plus Windows binaries or local compilation. Configuration flags control port, user and group, signals sent on exit, reverse-proxy base paths, IPv6, and client-specific terminal options.

Typical usage is remote ops, demos, or embedded devices where a quick browser shell is enough. Alternatives mentioned in project docs include Wetty and GoTTY for similar web-terminal approaches.

Key features

  • WebSocket terminal via Xterm.js
  • Basic authentication support
  • SSL TLS with certificate files
  • ZMODEM transfers with lrzsz
  • Custom commands and read-only mode
  • Reverse-proxy base path option
  • Cross-platform binaries and packages
  • Client and connection limits

Use cases

  • Browser access to a remote shell
  • Demos of CLI tools over the web
  • Quick terminal on routers or IoT
  • Shared readonly troubleshooting sessions

Tags

Similar software

Electerm

Cross-platform SSH and remote session desktop client

electerm combines terminal, file manager, and clients for SSH, SFTP, FTP, Telnet, serial, RDP, VNC, and Spice on desktop and mobile systems. It adds themes, sync, AI assistance, and MCP integration.

★ 15.7k⟳ yesterdayMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius

Mosh

Roaming remote terminal with predictive local echo

Mosh replaces interactive SSH sessions with a UDP-based terminal that survives IP changes, sleep, and lossy networks. SSH still handles initial login; then mosh-client talks to mosh-server.

★ 14.7k⟳ 8 months agoGPL-3.0
TerminalsDesktop/CLI app

XPipe

Desktop connection hub for servers and containers

XPipe is a desktop connection hub that reaches your servers, containers, VMs, and clusters from one place. It uses your existing SSH, Docker, and other CLI tools without remote setup.

★ 14.7k⟳ 4 days agoApache-2.0
TerminalsDesktop/CLI app

purple

Terminal SSH manager with cloud sync and fleet Docker control

purple is a Rust terminal UI that edits ~/.ssh/config, syncs hosts from 18 cloud providers, monitors tunnels, manages remote Docker and Podman, and exposes Vault SSH certs and an MCP server.

★ 798⟳ 13 days agoMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

★ 190.9k⟳ yesterdayMIT
TerminalsDesktop/CLI app

Scrcpy

Android screen mirror and control from desktop

scrcpy shows Android device video and audio over USB or TCP/IP and forwards keyboard and mouse input. It needs no root or on-device app and runs on Linux, Windows, and macOS.

★ 155.9k⟳ 9 days agoApache-2.0