You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Vasile Popescu 602259cdd8 Add support for TLS/HTTPS on both the client and the server
At the moment the server side doesn't support SSL for the web end.
The tty_sender supports TLS for the server connection, which is
specified via a command line argument.

The websockets connection on the frontend side is using an address based
on the window.location.protocol (ws:// or wss://)
6 years ago
common Initial commit 6 years ago
doc Initial commit 6 years ago
frontend Add support for TLS/HTTPS on both the client and the server 6 years ago
testing Initial commit 6 years ago
tty-sender Add support for TLS/HTTPS on both the client and the server 6 years ago
tty-server Bundle the frontend resources inside the server binary 6 years ago
.gitignore Bundle the frontend resources inside the server binary 6 years ago
Makefile Bundle the frontend resources inside the server binary 6 years ago
README.md Initial commit 6 years ago

README.md

TTY Share

A small tool to allow sharing a terminal command with others via Internet. Shortly, the user can start a command in the terminal and then others can watch that command via Internet in the browser. More info to come.

Run the code

  • Build the frontend
cd tty-share/frontend
npm install
npm run build
  • Run the server
cd tty-share
make run