From 84db0f70a81d39537c1cfb45e71f4f25ecc53ffa Mon Sep 17 00:00:00 2001 From: Meinard Francisco <44516102+znarfm@users.noreply.github.com> Date: Mon, 17 Nov 2025 12:19:41 +0800 Subject: [PATCH] ttyd: add page (#19461) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/ttyd.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/ttyd.md diff --git a/pages/common/ttyd.md b/pages/common/ttyd.md new file mode 100644 index 0000000000..dffd1eb122 --- /dev/null +++ b/pages/common/ttyd.md @@ -0,0 +1,28 @@ +# ttyd + +> Share a terminal or any command over the web. +> More information: . + +- Start a read only web server sharing Bash shell on the default port (7681): + +`ttyd bash` + +- Start Bash on a specific port: + +`ttyd {{[-p|--port]}} {{8080}} bash` + +- Allow clients to write to the terminal: + +`ttyd {{[-W|--writable]}} {{command}}` + +- Set client options: + +`ttyd {{[-t|--client-option]}} {{key=value}} {{command}}` + +- Display help: + +`ttyd {{[-h|--help]}}` + +- Display version: + +`ttyd {{[-v|--version]}}`