Skip to content

Releases: tsl0922/ttyd

1.3.3

18 Jun 15:20
1.3.3
Compare
Choose a tag to compare

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

  • Fixed compatibility for OpenBSD (f6361ca)
  • Fixed README to generate SSL certificate with SAN field (4ced0c8)
  • Upgraded to xterm.js 2.7.0 (0554635)
  • Do not reconnect if process exited (4e0801d)
  • Ony fire resize event when it ends (4cbc774)

1.3.2

14 Apr 15:06
1.3.2
Compare
Choose a tag to compare

Starting from this release, ttyd is avaliable from ppa:tsl0922/ttyd-dev for ubuntu 16.04 and later, view the instructions.

ChangeLog

  • Added man page (d5c944a)
  • Fixed client count calculation (35c97df)
  • Simplified docker alpine image building, image size reduced to ~7MB (f95d3de)
  • Added debian/ dir for deb packaging (@hosiet, #48)
  • Upgraded to xterm.js 2.5.0 (9cc5e4a)
  • --max-clients option: limit max clients (3580e80)

1.3.1

10 Mar 19:28
1.3.1
Compare
Choose a tag to compare

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

11 Feb 01:10
1.3.0
5bbcbb4
Compare
Choose a tag to compare

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

25 Dec 16:51
1.2.2
3b58edb
Compare
Choose a tag to compare

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

  • OK to build ttyd on MSYS2 (41b64be)
  • Upgrade to xterm.js 2.2.3 (dcacbd2)

1.2.1

27 Nov 12:39
1.2.1
f82f00c
Compare
Choose a tag to compare

This release comes with SSL client certificate verification support, look at the README to learn how to use this feature.

ChangeLog

  • Enable client certificate verification if ssl CA is given (15e2dd9)
  • openwrt: add build instruction with SDK (06b8074)

1.2.0

13 Nov 10:20
1.2.0
16bec0a
Compare
Choose a tag to compare

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

12 Oct 23:36
Compare
Choose a tag to compare

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 to libopenssl

1.0.0

24 Sep 18:23
Compare
Choose a tag to compare

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