Releases: tsl0922/ttyd
1.3.3
Statically linked release for linux can be downloaded now, you can verify it's signature using gpg:
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys DC066DDA23C989D4CA5577F27E37674BC59FFF5A
gpg --verify ttyd-static-amd64.asc
The static binary can be run directly without libc, no runtime dependencies is required. Currently, only amd64
version is available, more platforms is coming soon!
ChangeLog
1.3.2
Starting from this release, ttyd is avaliable from ppa:tsl0922/ttyd-dev
for ubuntu 16.04
and later, view the instructions.
ChangeLog
1.3.1
This release fixes some critical bugs, users are encouraged to upgrade, especially those who are using the basic authentication feature.
ChangeLog
- Added alpine docker image (@dduportal, #38)
- Fixed font-family issue for windows (#40, e6c0961)
- Added padding for terminal container (2c34c52)
- Upgraded to xterm.js 2.4.0 with WebLinks support (5db1564)
- Supported for compiling under OpenBSD (@dohnuts, #44)
- Fixed an issue that can bypass basic authentication (4d31e53)
- Fixed potential segmentation fault (SIGSEGV) error (08ac6dc)
1.3.0
This release comes with some new features and bug fixes, and xterm.js has been upgraded to the latest version with huge performance improvements.
xterm.js 2.3.0 introduces a new option
useFlowControl
which is not enabled by default, you can enable it on ttyd with option:-t useFlowControl=true
.
ChangeLog
--index
option: custom index.html path (c9ffa8a)--browser
option: open terminal with the default system browser (e4c4fea)--signal-list
option: print a list of supported signals (896ca9c)- Shrinked docker image size (@dduportal, 8db5ca5)
- Added support for listening on UNIX domain socket (#33, de75490)
- Improved base64 decode and utf8 handling on the client side (f0414d3)
- Fixed command execution order issue (#34 (comment), ffdf56e)
- Added confirm dialog for window closing (82148cd)
- Upgraded to xterm.js 2.3.1 (62b2bb5)
1.2.2
ttyd works on windows now! The build instructions is here, since the output binary depends on msys runtime dll, you need to build it yourself.
NOTE: Native windows console programs may not work correctly due to pty incompatibility issues. As a workaround, you can use winpty as a wrapper to invoke the windows program, eg:
ttyd winpty cmd
.
ChangeLog
1.2.1
1.2.0
ttyd has CJK (Chinese, Japanese, Korean) and IME support now! The new terminal emulator is based on Xterm.js, which is also used by Microsoft Visual Studio Code.
ChangeLog
- Fixed compile error on FreeBSD (@neelchauhan, bccf6a4)
- Re-implemented the base64 function without openssl (a16fdfd)
--client-option
option: allows setting terminal preference on the server side (24c3f2a)- Moved the terminal emulator from hterm to xterm.js for CJK and IME support (#22)
- Show websocket connection error with overlay (fdcbd35)
1.1.0
New Features
--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 origin- HTTP
Server
header changed to ttyd, eg:ttyd/1.1.0 (libwebsockets/2.0.2)
Improvements
- Added check for
lws_config.h
, some version of libwebsockets may not have this header file - libwebsockets : handle fragmented messages, this allows large input on the web
- OpenWrt Makefile: changed the
openssl
dependency tolibopenssl
1.0.0
Initial release.
Features
- Build on libwebsockets with C for speed
- Full terminal emulation based on hterm
- SSL support based on OpenSSL
- Run any custom command with options
- Basic authentication support
- Cross platform: macOS, Linux, OpenWrt
Usage
USAGE:
ttyd [options] <command> [<arguments...>]
VERSION:
1.0.0
OPTIONS:
--port, -p Port to listen (default: 7681)
--interface, -i Network interface to bind
--credential, -c Credential for Basic Authentication (format: username:password)
--uid, -u User id to run with
--gid, -g Group id to run with
--signal, -s Signal to send to the command when exit it (default: SIGHUP)
--reconnect, -r Time to reconnect for the client in seconds (default: 10)
--ssl, -S Enable ssl
--ssl-cert, -C Ssl certificate file path
--ssl-key, -K Ssl key file path
--ssl-ca, -A Ssl ca file path
--debug, -d Set log level (0-9, default: 7)
--version, -v Print the version and exit
--help, -h Print this text and exit