stream-tty

stream-tty streams your terminal to browser clients via WebSockets.

Browse the repository onlineGitHub mirror


Get the code

git clone https://copy.sh/stream-tty/stream-tty.git

Usage

# 1. terminal that will be shared
kitty -o allow_remote_control=yes --listen-on unix:/run/user/"$(id -u)"/kitty-stream-tty --title STREAMING

# 2. poll terminal contents from socket and distribute it on port 8080
./_build/default/stream.exe /run/user/"$(id -u)"/kitty-stream-tty 8080 |& tee stream.log

# 3. connect to remote server and distribute proxies port 8080 to 6666
ssh c0py.uber.space -R 8080:localhost:8080 stream-tty/stream.exe --broadcast 8080 6666 |& tee broadcast.log