If you have a Go language environment, you can install GoTTY with the go get command. However, this command builds a binary file from the latest master branch, which can include unstable or breaking changes. GoTTY requires go1.9 or later. Run gotty with your preferred command as its arguments (e.g. gotty top). By default, GoTTY starts a web server at port 8080. Open the URL on your web browser and you can see the running command as if it were running on your terminal. By default, GoTTY doesn't allow clients to send any keystrokes or commands except terminal window resizing. When you want to permit clients to write input to the TTY, add the -w option. However, accepting input from remote clients is dangerous for most commands. When you need interaction with the TTY for some reasons, consider starting GoTTY with tmux or GNU Screen and run your command on it (see "Sharing with Multiple Clients" section for detail).

Features

  • You can install GoTTY with Homebrew as well
  • All traffic between the server and clients are NOT encrypted by default
  • For additional security, you can use the SSL/TLS client certificate authentication
  • GoTTY starts a new process with the given command when a new client connects to the server
  • You can use terminal multiplexers for sharing a single process with multiple clients
  • You can have the control of your terminal and allow clients to just see your screen

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

MIT License

Follow GoTTY

GoTTY Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GoTTY!

Additional Project Details

Operating Systems

Mac

Programming Language

Go

Related Categories

Go Terminals

Registered

2021-03-30