Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-18 00:20:54 +00:00
parent 5e29c3e5bb
commit 83af6b3c72
22 changed files with 325 additions and 29 deletions

33
tldr/ttyd Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ttyd
> Share a terminal or any command over the web.
> More information: <https://github.com/tsl0922/ttyd#command-line-options>.
- 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]}}`