百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

ttyd

> 编程语言
开源

通过 Web 共享您的终端

12.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

通过 Web 共享您的终端

ttyd - Share your terminal over the web

ttyd is a simple command-line tool for sharing terminal over the web.

Features

  • Built on top of libuv and WebGL2 for speed
  • Fully-featured terminal with CJK and IME support
  • ZMODEM (lrzsz) / trzsz file transfer support
  • Sixel image output support (img2sixel / lsix)
  • SSL support based on OpenSSL / Mbed TLS
  • Run any custom command with options
  • Basic authentication support and many other custom options
  • Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt, Windows

Installation

Install on macOS

  • Install with Homebrew: brew install ttyd
  • Install with MacPorts: sudo port install ttyd

Install on Linux

  • Install on Debian/Ubuntu: sudo apt install ttyd
  • Install the snap: sudo snap install ttyd --classic
  • Install on OpenWrt: opkg install ttyd
  • Install on Gentoo: clone the repo and follow the directions here.
  • Install with Homebrew : brew install ttyd
  • Precompiled static binaries: download from the releases page

Install on Windows

  • Binary version (recommended): download from the releases page
  • Install with WinGet: winget install tsl0922.ttyd
  • Install with Scoop: scoop install ttyd
  • Compile on Windows

Usage

Command-line Options

…

Read the example usage on the wiki.

Browser Support

Modern browsers, See Browser Support.

Alternatives

  • Wetty: Node based web terminal (SSH/login)
  • GoTTY: Go based web terminal

Issues· 116 开放

查看全部 Issues在 GitHub 打开
  • #1572

    Wiki 许可证

    enhancement更新于 2026年9月14日
  • #1528

    浏览器断开连接时是否要终止进程?

    question更新于 2026年8月26日
  • #1454

    在使用 Tmux 时复制文本

    question更新于 2026年8月24日
  • #1567

    发布版本过旧

    question更新于 2026年8月14日
  • #1566

    `--check-origin` 绝不能通过 HTTP/2 传递(`check_host_origin` 读取 `WSI_TOKEN_HOST`,而 h2 没有此值)

    更新于 2026年8月11日
  • #1563

    libwebsockets 5 破坏了 ttyd 的构建

    bug更新于 2026年8月3日
  • #1557

    当用户名长度 >= 30 时, Auth-header 拒绝连接

    bug更新于 2026年7月11日
  • #1492

    在 MacOS 上的 Chrome 中,选择文本不会将其复制到 vim 的剪贴板缓冲区中

    bug更新于 2026年6月22日
  • #1551

    安全性: 在 Linux 发行版二进制文件中,不强制使用 mTLS 客户端证书

    更新于 2026年6月20日
  • #1546

    长度为零的 WebSocket 消息会导致 ttyd 发生崩溃/远程 DoS

    bug更新于 2026年6月10日

> 标签

Copenwrtsslterminalterminal-emulators

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言