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
Matthew Strasiotto 2387c0132b Add nerd font rules 4 years ago
frontend Add nerd font rules 4 years ago
vendor Initial commit 4 years ago
.gitignore Initial commit 4 years ago
.travis.yml Initial commit 4 years ago
Dockerfile Add Dockerfile 4 years ago
Gopkg.lock Initial commit 4 years ago
Gopkg.toml Initial commit 4 years ago
LICENSE Initial commit 4 years ago
Makefile Initial commit 4 years ago
README.md Add Dockerfile 4 years ago
assets_bundle.go Regen assets_bundle.go 4 years ago
protocol.go Initial commit 4 years ago
server.go Initial commit 4 years ago
server_main.go Initial commit 4 years ago
session.go Initial commit 4 years ago
tty_protocol_conn.go Initial commit 4 years ago
websockets_connection.go Initial commit 4 years ago

README.md

Build Status

tty-server

Server side for tty-share.

Docker

The server can be built into a docker image as follows:

docker build -t tty-server .

To run the container, type:

docker run \
  -p 6543:6543 -p 5000:5000 \
  -e URL=http://localhost:5000 \
  --cap-drop=all --rm \
  tty-server

where you can replace URL by whatever will be the publicly visible URL of the server.

After this, clients can be connected as follows:

tty-share -useTLS=false -server localhost:6543

In the above command, 6543 is the default port where tty-server listens for incoming shares (i.e. tty-share clients), and 5000 is the port of the web interface through which remote users can connect. You can override the defaults by specifying a different port mapping on the command line, e.g. -p 7654:6543 -p 80:5000 to listen on 7654 and serve on 80.