ScreenX TV is a web service that lets you broadcast your terminal to the world. It is often used for a hackathon, lecture, and opensource activity. And this gist explains how to broacdcast your terminal using it.
To install screenxtv
command, you can broadcast your terminal anytime, and there are two ways, Ruby and GCC. In both ways, you need to use screen before installing screenxtv
command.
- Mac OS X:
brew install screen
- Linux (Ubuntu or Debian):
sudo aptitude install screen
- Windows: Download and install screen in Cygwin.
-
Then, install
screenxtv
using RubyGems.gem install screenxtv
-
From now, you can broadcast your terminal by just typing
screenxtv
.
-
Download the client from GitHub.
git clone https://github.com/tompng/screenxtv-gcc-client.git
-
Then, move to the downloaded directory, and compile it.
cd screenxtv-gcc-client
make
-
From now, you can broadcast your terminal by running the client:
./screenxtv-gcc-client
-
Run the client:
- Ruby:
screenxtv
- GCC:
./screenxtv-gcc-client
- Ruby:
-
Fill in the given items (e.g. URL, title).
-
Finally, press Enter to start broadcasting.
-
Exit from
screen
, then your broadcasting will stop.exit
NOTE: ScreenX TV holds your session for 10 minutes after the
exit
. -
If you'd like to resume, re-run the client program.
From Ruby client ver. 0.0.9, you can privately broadcast your terminal by adding -p
or --private
option. In private broadcasting, people who has the link can only access. Also, see --help
message for other options:
Usage:
screenxtv [options]
Options:
-u, [--url] # Select a url (e.g. yasulab, tompng)
-c, [--color] # Select a color (options: black/white/green/novel)
-t, [--title] # Select a title (e.g. Joe's Codestream)
-r, [--reset] # Reset your default configuration (e.g. url, color, title)
-f CONFIG_FILE # Path to a preset configuration
-p, [--private] # Broadcast your terminal privately (anyone who has the link can access)
-h, [--help] # Show this help message and quit
-v, [--version] # Show ScreenX TV Ruby Client version number and quit
You don't have to create an user account to broadcast, but if you create, you'll get an unique URL that cannot be used for anyone but you. Also, the comments you get in your broadcasting will remain after stop broadcasting.
Create an issue, send a pull request, or directly send us an email.