2
0
mirror of https://github.com/elisescu/tty-share synced 2024-11-09 19:10:59 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Vasile Popescu
aca5802379 Add an option to run headless (no interactive input)
Allow `tty-share` to run without having an interactive input terminal.
2022-11-18 15:28:10 +01:00
Vasile Popescu
b4b9c20bdb Add an option to skip waiting for Enter key press 2022-11-18 15:28:10 +01:00
Vasile Popescu
6d477487d9 Add several TTY_SHARE_* session environment variables
Set these variables in the started child shell process:
- TTY_SHARE=1 to signal running inside a tty-share session
- TTY_SHARE_LOCAL_URL - contains the URL of the public session
- TTY_SHARE_PUBLIC_URL - contains the URL of the local session
2020-12-20 19:50:02 +01:00
Vasile Popescu
4e3dae80e2 Improve handling binding and other connection errors 2020-11-04 23:06:34 +01:00
Vasile Popescu
3230cee786 Fix some misleading log messages 2020-11-04 23:06:34 +01:00
Vasile Popescu
9573987434 Improve the error handling when starting a session
If the command cannot be started, or the proxy server can't be reached,
exit early and a bit nicer.
2020-11-04 23:06:34 +01:00
Vasile Popescu
e1f4cdd06d Improve the terminal restoring from RAW format
Use a defer mechanism to restore the terminal from its RAW state. This
way it's resilient to panic calls
2020-11-04 23:06:34 +01:00
Vasile Popescu
e8c6caac80 Update the server side when the client window changes 2020-11-04 23:06:34 +01:00
Vasile Popescu
14266a7f24 Add support for detaching shortcut in client mode
When joining a session from command line, the user can exit now by
pressing a predefined key sequence that can be specified from command
line.
2020-11-04 23:06:34 +01:00
Vasile Popescu
6c0171e9d9 Log improvements - fixup in the other one 2020-11-04 23:06:34 +01:00
Vasile Popescu
2100e4ab90 Add TLS connection support for tty-proxy connections 2020-11-04 23:06:34 +01:00
Vasile Popescu
2d481a5a98 Several usage/help and logging improvements 2020-11-04 23:06:34 +01:00
Vasile Popescu
afc909a358 Add support for joining a session from command line 2020-11-04 23:06:34 +01:00
Vasile Popescu
46e1bdaab2 Add support for public sharing with the new method 2020-11-04 23:06:34 +01:00
Vasile Popescu
584cba56c9 Add support for local network terminal sharing
Moved the server inside the tty-share binary, and serve it locally
2020-11-04 23:06:34 +01:00
Vasile Popescu
6fc776b924 Exit is stdin is not a tty 2020-01-11 23:06:59 +01:00
Vasile Popescu
b395112857 Add --version command line flag 2020-01-10 23:20:30 +01:00
Vasile Popescu
ca450682c0 Use the $SHELL value as the default value for the command param 2020-01-09 21:34:35 +01:00
Vasile Popescu
a27cd48730 Separate the tty-share tool from the server side 2020-01-09 21:34:35 +01:00