# ttyd

ttyd is a simple command-line tool that shares a terminal over the web, giving users remote or shared terminal access from any browser. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6681/ttyd

## Description

ttyd is a simple command-line tool that shares a terminal over the web, giving users remote or shared terminal access from any browser.

## Platform availability

Available on 0 of 10 platforms.

## Health score

62/100 (Good), based on 4 of 5 factors.
- Maintained: 65 (last commit 101 days ago)
- Popular: 82 (12,660 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 67 (no serious findings, CI, OpenSSF Scorecard 3.2/10)

## Links

- Official website: https://tsl0922.github.io/ttyd/
- GitHub: https://github.com/tsl0922/ttyd
- Docker Hub: https://hub.docker.com/r/tsl0922/ttyd
- Documentation: https://en.wikipedia.org/wiki/ZMODEM

## Common questions

### How should I install ttyd?

Use your system's package manager, such as apt on Debian/Ubuntu, snap, winget, or scoop, to install the binary instead of building it yourself. This avoids installing build tools and getting dependency versions wrong.

### How do I choose and expose the web port?

Start ttyd with a web port and a shell command, for example ttyd -p 8080 bash. If you are connecting from outside that machine, make sure port 8080 is reachable or your browser cannot open the terminal.

### How should I protect ttyd if I expose it beyond my home network?

Use the --ssl options with valid certificate paths so the terminal connection is encrypted. Without that, a remote terminal session is easy to intercept or tamper with.

### Can ttyd be used from a mobile device?

ttyd is discussed as a relevant web-based terminal choice for self-hosted terminal access on mobile devices.

### Does ttyd include ZMODEM support?

ttyd lists graphical ZMODEM integration as a feature.

## Alternatives

- tmate: tmate is an instant terminal sharing software fork from tmux.

---
Source: Our Local Host (https://ourlocalhost.com/app/6681/ttyd), the self-hosted and open-source app directory.
