ttyd 1.2.0 发布了。
这个版本主要的改进是网页终端模拟器添加了对 CJK (Chinese, Japanese, Korean) 和 IME 的支持,也就是说可以输入中文了。另外,ttyd 也可以在 FreeBSD 下使用了。
--client-option option: allows setting terminal preference on the server side--once option: accept only one client and exit on disconnection--readonly option: do not allow clients to write to the TTY--check-origin option: do not allow websocket connection from different originServer header changed to ttyd, eg: ttyd/1.1.0 (libwebsockets/2.0.2)
lws_config.h, some version of libwebsockets may not have this header fileopenssl dependency to libopenssl
ttyd 是一个 C 语言编写的命令行程序,可以把任意命令行程序分享到网页上操作,可以看做是个网页版的远程终端,支持 Linux、macOS 系统,还可以运行在 OpenWrt 之类的嵌入式系统上。
功能特色:
运行效果:

更新历史: