ttyd

Share your terminal over the web

MIT License

Downloads
193
Stars
8K
Committers
63

Bot releases are visible (Hide)

ttyd - 1.7.7 Latest Release

Published by github-actions[bot] 7 months ago

This release fixes version detection when not building from git repo (#1339), you don't need to update if you don't mind it.

Changelog

  • Bump to 1.7.7 (40e79c706be14029b391f369bee6613c31667abb)
  • cmake: add static version back (62f44f827a4f21c7601b56d109acc2b96a8cd16b)

The release action now checks the version bump, it will fail if I forget to bump version in CMakeLists.txt.

ttyd - 1.7.6

Published by github-actions[bot] 7 months ago

This release fixes that 1.7.5 reports incorrect version (#1337), you don't need to update if you don't mind it.

[!Note]
Support for cmake < 3.12.0 is dropped in this release.

Changelog

  • workflow: update actions packages (#1316) (89fb69b4806a30143ffecd18738df7a1ef4213dc)
  • cmake: get version from git ref (e5fd3f60e5d5cf28190d288bc13e0117d69ff493)
ttyd - 1.7.5

Published by github-actions[bot] 7 months ago

Changelog

  • html: allow overriding client options with URL query (dea883a)
  • server: add --exit-no-conn option (#1029) (116ce8f)
  • html: add safari mobile full screen support (#946) (f79304f)
  • html: Add Unicode 11 xterm.js addon (#1310) (61a985e)
  • html: upgrade to xterm 5.4.0 (#1303) (09e7fd8)
  • add trzszDragInitTimeout option (#1238) (272f2f8)

Full Changelog: https://github.com/tsl0922/ttyd/compare/1.7.4...1.7.5

ttyd - 1.7.4

Published by github-actions[bot] about 1 year ago

Breaking Changes

  • The default listen interface/ip is changed to 127.0.0.1 now
  • The web terminal is readonly by default now, to make it writable, use -W option.

Changelog

  • Leverage Docker Layer System (#1191) (c4beea2)
  • html: update dependencies (7a57d76)
  • build(deps): update zlib version 1.2.13 to 1.3 in cross-build.sh (#1193) (67ee27a)
  • server: print working directory on start (eb52df7)
  • server: replace --readonly with --writable (f8efcdd)
  • server: fix -U option not work (e46e3cf)
  • server: do not expose port to public by default (3920608)
  • Add -y flag for easier installation (#1024) (e12f321)
  • improve support for trzsz (#1084) (8c6c6ee)
  • info.max_http_header_data = 65535; (#1088) (945462a)
  • Add Docker pulls badge (#1092) (23eb4d3)
  • fix flow control (#1093) (01f1ed5)
  • Fix typo, OPTOINS -> OPTIONS (#1087) (a767971)
  • Bump CMake version to 2.8.12 (#1081) (fb65231)

Full Changelog: https://github.com/tsl0922/ttyd/compare/1.7.3...1.7.4

ttyd - 1.7.3

Published by github-actions[bot] almost 2 years ago

Breaking Change

  • Sixel support is off by default now, use -t enableSixel=true to enable it.
  • ZMODEM support is off by default now, use -t enableZmodem=true to enable it.

Full Changelog: https://github.com/tsl0922/ttyd/compare/1.7.2...1.7.3

ttyd - 1.7.2

Published by github-actions[bot] about 2 years ago

Changelog

  • Snap created and ready for publication (#1003) (fde310b)
  • html: upgrade to xterm 5.0 (2f7e0e0)
  • scripts: update cross build lib versions (896e07e)
  • html: Initialize doReconnect to false when specified by client options (bae2b81)
  • pty: fix use-after-free issue when closing a connection (#997) (4ca49a1)
  • scripts: update mingw-build.sh (3c8dbbb)
  • html: only show resize overlay on ws (790cfb3)
  • html: add sixel support (#970) (b8a88f6)
  • server: allow http on https port (6482152)
  • protocol: ignore resize message if process freed (#968) (69b63fc)
  • cross: revert to mbedtls 2.x (2.28.1) (45ef578)
  • cmake: add check for util lib (b31ac86)

Full Changelog: https://github.com/tsl0922/ttyd/compare/1.7.1...1.7.2

ttyd - 1.7.1

Published by github-actions[bot] about 2 years ago

This release contains some stability improvement for 1.7.0.

Changelog

  • protocol: fix potential pty buf leak on process exit (efefd56)
  • pty: remove close call on windows (520ce17)
  • protocol: fix potential pty buf leak (6cfd9b2)
  • cmake: add windows rc file (eb05572)
  • protocol: fix potential null pss access (d7db637)
  • workflow: build win10 binary on release (b76c91e)

Full Changelog: https://github.com/tsl0922/ttyd/compare/1.7.0...1.7.1

NOTE: the linux assets has been rebuilt with mbedtls 2.x to fix a SSL issue.

ttyd - 1.7.0

Published by github-actions[bot] about 2 years ago

Notable changes:

  • tls 1.0/1.1 are disabled by default for openssl
  • added native windows support (requires conpty, windows 10+ only)
  • added s390x build of binary and docker image
  • added auth proxy support
  • renamed master to main

Changelog

  • html: update default font family (0b6eaa8)
  • pty.c: Fix errant use of fcntl F_SETFD (#951) (1be5f5c)
  • cross: use a github mirror of musl.cc artifacts (6e089f6)
  • server: disable tls 1.0/1.1 by default for openssl (8b6b71e)
  • cross-build: upgrade zlib to 1.2.12, show curl errors (#915) (83e514b)
  • html: merge object values for client-option (723ae96)
  • html: polish webgl init code (f896dff)
  • html: improve webgl2 detection code (1fbb979)
  • server: fix default keepalive not working (b37ea9f)
  • Disable WebGL2 on Safari (#799) (52adcc4)
  • html: fix rendererType updating issue (a5f0765)
  • cmake: check libuv support of libwebsockets (80c6f66)
  • pty: inherit env from parent process (fcec9a6)
  • pty: fix cwd on windows (1415e5c)
  • server: add cwd support (bff3a61)
  • pty: set TTYD_USER env (968f1e6)
  • server: add auth proxy support (e402edf)
  • drop libwebsockets < 3.2.0 support (b2cda1d)
  • protocol: check basic auth on ws connection (1e5c524)
  • http: polish basic auth code (8a75364)
  • server: validate numeric value command-line arguments (0206554)
  • pty: set TERM env for the pty process (619bfc3)
  • pty: fix error handling (811fb59)
  • server: update default ping interval to 5s (4a6b260)
  • html: drop backoff support (d7440fb)
  • cmake: find libwebsockts manually (b33f313)
  • server: use base64 function from lws (cb758b9)
  • html: add ability to press enter to reconnect (9c1e464)
  • repo: rename master to main (8f5d9a1)
  • all: remove the vla usage (c5f414b)
  • protocol: fix -Wstringop-overflow compile warning (2480810)
  • protocol: free memory allocated for url args (c0bdd7b)
  • protocol: cleanup unused code (21b9aef)
  • server: fix ssl ca option init (0b146b7)
  • protocol: improve exit code handling (cbb31ea)
  • workflow: switch to mingw build for win10 (79af0b8)
  • pty: rename pty_close to pty_kill (02bbbec)
  • protocol: fix auth token check (f67feeb)
  • protocol: set windows size on spawm process (96e88fb)
  • pty: polish pty_spawn code (3929e5c)
  • pty: use uint16_t for resize params (52adaba)
  • protocol: add conpty support (d6921b2)
  • msys2: build without ssl (2196e67)
  • scripts: add msys2 build (241ac85)
  • utils: remove useless include (49068cf)
  • protocol: fix uv handle closing (215849b)
  • protocol: use 2 pipe for read and write (75105f6)
  • src: move pty code to protocol (bfb2d0c)
  • workflow: add s390x build to backend and release (e648ad9)
  • server: increase max length of base path to 128 (7bd1638)
  • protocol: fix illegal ws path error msg (7ce3081)
  • update Dockerfiles (8c47c50)

Full Changelog: https://github.com/tsl0922/ttyd/compare/1.6.3...1.7.0

ttyd - 1.6.3

Published by github-actions[bot] almost 4 years ago

This is a bugfix release, notable changes:

  • Fixed a crash issue (#491, #557, #563)
  • Added support for xterm flow control (#273)
  • Added a disableReconnect client option (#478)

To reduce the binary size, the release artifacts wasn't build with SSL support for 1.6.2. Now it comes back in this release, with mbedtls as SSL backend.

Changelog

  • Bump to 1.6.3 (3b174da)
  • html: yarn upgrade (e2e1071)
  • html: keep the inlined html during build (32c8a23)
  • protocol: fix ws code on process exit (4f91d76)
  • html: fix yarn run start (bc1cf06)
  • cmake: fix mbedtls build (9ece7cf)
  • cmake: add openssl check back (d96492a)
  • cross: switch to mbedtls (763d01d)
  • server: add mbedtls support (6db541b)
  • cross: update dependency versions (cdaef3c)
  • protocol: do not show eof as error (c14b1fe)
  • update .gitattributes for generated code (8fb50ab)
  • html: fix styling for bottom of terminal (d4d854f)
  • html: implement flow control for xterm (4ab5479)
  • html: add disableReconnect client option (61a9bcd)
  • update README.md (e3335bd)
  • protocol: fix incorrect uv_close usage (5650606)
  • workflows: bump to lws 4.1.6 (75c9004)
  • html: show message on reconnect success (29ef8cb)
  • html: use webgl as the default renderer (c62de53)
ttyd - 1.6.2

Published by github-actions[bot] almost 4 years ago

Changelog

  • Bump to 1.6.2 (a109730)
  • update doc for --ping-interval option (c61cca0)
  • scripts: bump to lws 4.1.4 (268a6ff)
  • workflow: remove lws 4.0.x from matrix (c0369e9)
  • Dockerfile: update base images (9a3d660)
  • workflow: bump ubuntu and lws versions (c856189)
  • add websocket ping interval option (#519) (4732546)
  • scripts: download cross toolchain with https (94dd4a0)
  • html: add disableResizeOverlay client option (7e0f806)
  • update Dockerfile (7fc63b9)
  • workflow: update release action (cd270e6)
  • protocol: fix request path for h2 (f7c171f)
  • scripts: optimize libwebsockets build (aa6c6c7)
  • protocol: improve io error handling (f9d23de)
  • scripts: disable SSL by default (9edb245)
  • cmake: check LWS_WITH_SSL (4d33dc4)
  • scripts: upgrade to openssl 1.1.1 (c5862e2)
  • workflow: bump to lws 4.0.20 (7a6a560)
  • scripts: use cross compiler from musl.cc (6ef461b)
  • server: fix unix domain socket for lws 4.0 (e34fd09)
  • server: remove ws_ping_pong_interval on lws > 4.0 (5902726)
  • html: add titleFixed client option (a841738)
  • Refit to the browser window after changing font size (#416) (cb3e720)
  • scripts: apply shellcheck fixes (7f42964)
ttyd - 1.6.1

Published by github-actions[bot] over 4 years ago

Changelog

  • Bump to 1.6.1 (079aa68)
  • html: add disableLeaveAlert client option (260778a)
  • src/http.c: fix checking pss's len member (#385) (31c0dff)
  • cmake: update git command args (#293) (b08d106)
  • cmake: fix build without C++ (#382) (ae65376)
  • http: fix build with lws 1.7 (70c12e4)
  • protocol: fix readonly handling (#373) (56d26ac)
  • Fix type declaration (#357) (2beab0d)
  • src: fix lws version check for keep alive (ff2eebc)
  • html: set URL of stylesheet by href (2511d2d)
  • html: recreate sentry object on zmodem reset (9fece9e)
  • all: use the static keyword on functions (b0c4ad9)
  • protocol: replace uv_try_write with uv_write (f467442)
  • Add -b, --base-path option for reverse proxies (#151) (#281) (9726085)
  • protocol: fix lws callback compatibility (48f53bc)
  • server: mute lws 4.0 extensions warning (79acf9e)
  • html: reuse xterm instance on reconnect (339889e)
  • Add 64-bit ARM (aarch64) build (#275) (b427903)
ttyd - 1.6.0

Published by github-actions[bot] over 4 years ago

Highlights

Changelog

  • Bump to 1.6.0 (c15cfb7)
  • README: remove duplicate apt packages (ef38d28)
  • all: cleanup third party makefiles (731c0c1)
  • html: use api to fetch auth token (6bbe4db)
  • html: xterm.js 4.4.0 (463da83)
  • html: embed gziped version (437e63a)
  • http: add missing header (#263) (42349f2)
  • server: print listen port on start (985885c)
  • bugfix: off by one error (#257) (498874d)
  • protocol: print signal name (72dbba3)
  • protocol: use uv_kill to kill process (76eebaa)
  • protocol: fix json parsing (cb02d79)
  • Avoid trying to redefine sys_signame on Android (#253) (d991931)
  • server: improve child process handling (b67e382)
  • html: webgl renderer support (397b24f)
  • Dockerfile: use multi-stage build (1b2c450)
  • libuv: update cross build script (63dbdd6)
  • server: exit immediately on old lws versions (d5b303a)
  • terminal: set the pty fd non blocking (cfd338e)
  • protocol: split forkpty to separate file (ca91f40)
  • protocol: cleanup pipe handle (c0ebb57)
  • protocol: fix potential double free (36c9734)
  • protocol: rename tty_client to pss_tty (df6f3bd)
  • server: improve signal handling (f61b9ae)
  • server: remove sys/queue dep (fe7bad2)
  • libuv: initial support (5960132)
  • html: use file-saver to save file (e2ac723)
  • server: add a tiny timeout to lws_service (831379e)
  • server: remove the sleep from main loop (6d69f0a)
  • protocol: set pty fd close-on-exec (9126d54)
  • Focus to terminal after rz transfer completed (#237) (96528fe)
  • src: fix exit code check on linux (62844c2)
  • all: remove pthread (5381d0f)
  • Fix for upgrade of libwebsockets 3.2.0, it removes the poll which breaks every second in the previous version. (4ad0cc8)
  • src: refuse to compile with lws 3.2.0 (46064ee)
  • src: fallback to lws_get_peer_addresses on old libwebsockets (671427b)
  • Avoid slow reverse-DNS requests caused by libwebsocket (#222) (94817b4)
ttyd - 1.5.2

Published by tsl0922 about 5 years ago

This is a bug fix release for 1.5.1.

Changelog

  • Bump to 1.5.2 (d8903e1)
  • Fix potential segmentation fault (SIGSEGV) error #209 (#210) (87a7052)
  • travis: compile html frondend (a6b4d28)
  • html: preact 8.5.0 (bee8af8)
  • server: fix pthread_mutex_trylock usage (251ad41)
  • use errno.h not sys/errno.h in utils.c as in other files (#207) (921ddda)
  • include pthread.h for pthread_mutex_t (#206) (6facf52)
  • html: added window.term.fit (12dd5c7)
  • server: fix the client-option and terminal-type long option (e074513)
  • scripts: enable ipv6 support for lws (243a9b4)
  • server: hide ipv6 option if not suppored by lws (287585d)
  • README: update SSL script to generate sha256 cert (da047be)
  • Update mini-css-extract-plugin in group default to the latest version 🚀 (#201) (62f869f)
ttyd - 1.5.1

Published by tsl0922 over 5 years ago

This is a bug fix release for 1.5.0.

Zmodem support should be more stable now, error handling of the frontend got a lot of improvements too.

Changelog

  • Bump to 1.5.1 (0a8eb1d)
  • html: update modal style (ef00274)
  • Update dependencies to enable Greenkeeper 🌴 (#200) (54711e8)
  • build(deps): bump lodash from 4.17.11 to 4.17.14 in /html (#199) (819d605)
  • xterm.js 3.14.5 (a1b5c23)
  • html: abort zmodem session on ctrl+c (e8fd62e)
  • html: add empty check for copy (39f89ce)
  • html: polish zmodem code (218b149)
  • html: handle websocket error (20f2026)
  • server: remove the reconnect option (enabled by default) (0fc275f)
  • html: retry websocket connection with exponential backoff (fd29928)
  • html: reformat code (b0ed073)
  • html: move zmodem code as Component/ITerminalAddon (84ac40a)
  • xterm.js 3.14.4 (c4b9b6e)
  • protocol: remove the O_NONBLOCK flag on pty fd (513c64c)
  • html: abort on zmodem consume error (9633942)
ttyd - 1.5.0

Published by tsl0922 over 5 years ago

In this release, we dropped support for ie11, and the frontend is based on preact and typescript now. Some long time being issues such as http keepalive support and process hanging are resolved too.

Changelog

  • Bump to 1.5.0 (6505289)
  • http: handle lws_send_pipe_choked state (9b0166b)
  • http: fix libwebsockets 1.7 support (afadc00)
  • html: polish zmodem code (70f16a7)
  • html: auto reconnect on zmodem error (9762993)
  • html: add zmodem support back (6a40f32)
  • html: update lint rules (86123ca)
  • http: add basic auth support back (ae83791)
  • http: fix keepalive for lws_serve_http_file (c1c82b1)
  • http: remove hack for old libwebsocket versions (7901265)
  • html: attach the term instance to window (5dfcb8d)
  • html: enable copy on select (11c1e1b)
  • html: use ts string template (e67d567)
  • html: add xterm weblinks addon (19c89ff)
  • html: restore prefix to console message (37ab5e9)
  • xterm.js 3.14.2 (089182b)
  • http: fix keepalive issue (e3b5691)
  • html: fix lint (dbb72de)
  • html: replace with preact version (66718bc)
  • preact: convert to typescript (3f52934)
  • preact: update dependencies (2b30756)
  • preact: add README (bffedd4)
  • preact: intial commit (8ee982b)
  • html: convert numeric value to enum (38cad37)
  • xterm.js 3.13.2 (c42f885)
  • html: reload page when basic auth is failed (#187) (b525417)
  • html: add tslint to webpack (2aa2035)
  • html: update webpack (ccea4d2)
  • html: hide modal on ws close (3f21d86)
  • html: zmodem.js 0.1.9 (356d13f)
  • html: drop support for ie11 (de37a78)
  • html: migrate to typescript (cd1241c)
  • html: use more es6 syntax (ba77795)
  • xterm.js 3.13.0 (63315dd)
  • html: add ttyd prefix to console log (c8e9815)
  • server: allow reconnect to be 0 (66025e6)
  • utils: fix wait status (1069024)
  • protocol: cleanup process without hanging (e73a8e8)
ttyd - 1.4.4

Published by tsl0922 over 5 years ago

Changelog

  • protocol: set the pty file descriptor non blocking (4cd6d48)
  • html: remove bulma (14670ed)
  • protocol: do not block main thread when destroying client (d5a542d)
ttyd - 1.4.3

Published by tsl0922 over 5 years ago

ChangeLog

  • xterm.js 3.12.2 (1bc92df)
  • server: do not block main thread when acquiring lock (e954cb5)
  • Dockerfile: add tini as entrypoint (222cd67)
  • server: add support for cli args via url (74e091f)
  • server: remove unused options (bd8d2cf)
  • server: use the default ssl_cipher_list (348de8e)
  • html: do not apply winptyCompat addon (7ed537a)
  • protocol: exit thread as soon as the command terminate, fixes #112 (f95cacd)
  • Add instructions for Gentoo Linux users (#147) (10b479e)
  • Update Dockerfile-alpine (#166) (0f23415)
  • Update max_heaser_data deafult from 4K to 20K (#163) (7f7bf3c)
  • protocol: kill process group (154cacc)
  • cmake: fix compile on macOS (80bcfee)
  • Close the websocket after forking so that child processes don't prevent new connections (#162) (0b44b9b)
  • protocol: cleanup stale thread (51c1ec0)
  • server: add option to toggle IPv6 support (62bef0d)
  • expose term instance to window for programatic use cases (#131) (a428a7a)
ttyd - 1.4.2

Published by tsl0922 about 6 years ago

This is a bug fix release for 1.4.1.

ChangeLog

  • Fix ie11 support (8e090612d374f0295283d87f2dfec67988648707)
  • protocol: fix pthread_cond_wait usage (b6d160a0f6c20e5fbbbe2003252f96e105fb2cf0)
  • Downgrade to xterm.js 3.3.0 (6b57876ceb91fcf8fdb55d8d038b25a74d0e5455, #126)
ttyd - 1.4.1

Published by tsl0922 about 6 years ago

This release comes with experimental libwebsockets 3.0 support, and the latest version of xterm.js. Thanks to the richfelker/musl-cross-make project, you can download precompiled linux binary for more platforms now.

Changelog

Notable changes:

  • protocol: ignore invalid message (ff1f19d9ef2b3e1af6983a98ec36b3b9c1b677e2)
  • html: add development server (68b58829cdc2d3ba3b844f660f8305ca56ab0144)
  • html: check trailing slash on pathname for ws url (6a217d7388fcd6d785a09626ab9ac3d9134d06f9)
  • xterm.js: 3.6.0 (30f668846572cf50695d2997db0e4ad1a94a52df)
  • msys2: upgrade PKGBUILD files (44272fa213c386ce7aa259f1d64809b6abaf4aab)
  • libwebsockets 3.0 support (0f97a694465df94f93609adb6ebae05e94554d2e)
  • protocol: replace sleep with pthread cond (176f3e18a39dfb5705aa5b9c75d16730f12d409d)
  • server: custom terminal type support (aac89aa61781465288b3bf78358db50ae1de792c)
  • Add docker musl-cross compile script (ea46a24709f707453e5d43ca2d808e56cfebb6d8)
  • Add git commit id to version string (aaa6fd812d8032d5a4d994a452d0da0950985b01)
ttyd - 1.4.0

Published by tsl0922 about 6 years ago

ttyd 1.4.0 is out, it is our biggest release yet!

This release comes with significant performance improvements and less memory usage.

xterm.js has been updated to 3.0 version which moves from DOM-based rendering to canvas-based, there was a 5 to 45 times performance improvement depending on the situation.

The ZMODEM protocol support is added, yes you can use lrzsz now 🎉 , here is a screenshot:

sz

ChangeLog

  • protocol: fix host origin checking (784ac09f05cb2a60466a3dc9d15519b5a8f4e83f)
  • protocol: fix a regression that may crashes the server(710aa1cd98d065fa07743635870167f415ad2e1a)
  • protocol: use binary message (47ba5daa12761c6deb596aede5893a5636225eff)
  • protocol: avoid extra copy of pty data (9dd8a97e6b022983c965c191f7822d98d8615255)
  • server: use libwebsockets's built-in ping-pong (26f8b17891b6f0d0dc5503d2760894e3ab1dc28c)
  • openwrt: add a simple luci app for ttyd(a566c6c405483a79f9d2b84718b7d1c3737bb8d8)
  • Removed the --signal-list option (a59da79d62bd9e9abc948ba891978e85e91414ea)
  • Support numeric value for --signal (a5b8905c19f497a76e321486d9bd30cfb633a9f2)
  • Sync window title with the terminal (2087fc6efe82c335ecf096321802f0237e9c8e98)
  • Replace browserify with webpack (9715585fc1fb133137e7d3c6764d2dfa623fa321)
  • Upgraded xterm.js to 3.0.2 (40c8861cb935bc4fd6caebb268162938d45bb794)
  • Added ZMODEM support 🎉 (8ff3d313807c6c328956f297b0a86ca2589f7d31)
Package Rankings
Top 7.17% on Alpine-v3.8
Top 6.6% on Alpine-v3.11
Top 23.83% on Conda-forge.org
Top 17.16% on Npmjs.org
Top 8.01% on Alpine-v3.17
Top 7.17% on Alpine-v3.6
Top 6.43% on Alpine-v3.14
Top 1.21% on Alpine-v3.18
Top 11.4% on Formulae.brew.sh
Top 6.27% on Alpine-v3.10
Top 6.3% on Alpine-v3.12
Top 6.65% on Alpine-v3.7
Top 6.65% on Alpine-v3.9
Top 7.44% on Alpine-v3.15
Top 7.87% on Alpine-v3.16
Top 5.9% on Alpine-v3.13
Top 5.23% on Alpine-edge
Badges
Extracted from project README
GitHub Releases Docker Pulls Packaging status