# tsl0922/ttyd

Share your terminal over the web

Repository: https://github.com/tsl0922/ttyd
Canonical: https://ross.abutalabs.com/products/ttyd
Homepage: https://tsl0922.github.io/ttyd
Language: C
License: MIT
License Family: permissive
Topics: tty, terminal, xterm, terminal-emulators, websocket, openwrt, ttyd, ssl, websockets
Last push: 2026-08-12T03:39:18+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 8, longevity 100
- inputs: {"age_days": 3642, "days_push": 21, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12266, forks 1198 (observed 2026-08-28T04:10:52.190364+00:00)

## What it is
ttyd is a simple command-line tool written in C that shares a terminal session over the web using WebSockets and an xterm.js-based browser frontend. It supports SSL, basic authentication, file transfer (ZMODEM/trzsz), Sixel images, and runs on macOS, Linux, BSD, OpenWrt, and Windows.

## Use cases
- access a remote terminal from a browser
- share a shell session over the web
- run a web-based terminal on a router with OpenWrt
- give students browser access to a Linux shell
- debug an embedded device terminal remotely
- expose a CLI tool through a web interface

## When to choose
- you need browser-based access to a terminal without SSH client setup
- you want a lightweight, fast, cross-platform terminal sharing tool
- you need terminal access on resource-constrained devices like OpenWrt routers
- you want built-in SSL and basic auth for terminal sharing

## When to avoid
- you need multi-user session management or recording (use a full bastion/SSH solution)
- you require fine-grained authorization beyond basic auth
- exposing a raw shell to untrusted networks without additional hardening

## Facets
- artifact type: cli-tool
- maturity: active
- function: websocket, http-server, terminal-ui, cli
- domain: developer-tools, web-development, self-hosted
- platform: windows, cross-platform, cli
- tags: terminal-sharing, xtermjs, remote-terminal, tty, zmodem, openwrt, command-line, linux, macos, web-server, docker

## Member repositories
- tsl0922/ttyd (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:52.190364+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:12.621186+00:00, confidence not recorded.
  - readme: https://github.com/tsl0922/ttyd (fetched 2026-08-28T04:10:52.190364+00:00, sha 51568cdfbd2c)
  - homepage: https://tsl0922.github.io/ttyd (fetched 2026-08-29T08:11:32.160505+00:00, sha 1e3a265c486a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
