NOTE: This is an obsolete repo. If you'd like to see/contribute to the latest code of ScreenX TV, check out screenxtv/screenxtv-core repository.
ScreenX is a real-time terminal broadcasting system. It enables you to broadcast your screen and control it from web browser.
-
screen
command (sudo aptitude install screen
for Unix-like system user)A screen named "screenx" will be broadcasted. (ex.
screen -x screenx
). -
java
andjavac
commands to build and run -
g++
command to build
-
download source code of ScreenX:
git clone https://github.com/screenxtv/screenx.git
. -
build ScreenX:
cd screenx
./build.sh
(make sure you can usejavac
andg++
) -
run Java server:
cd classes
java ScreenX
(make sure you can usejava
)NOTE: if you'd like to run ScreenX in background, use `nohup java ScreenX &` instead.
-
start broadcasting your screen:
screen -x screenx
-
create symbolic links of
html/*
to, for example,/var/www/
:e.g.
sudo ln -s html/* /var/www/
on Zsh -
open
http://[hostname]:[port]/screenx.html
with your web browser.Then, you can see your screen is being broadcasted like the screenshot on the top! Enjoy :-)
-
html/
:login.html
: to login from web (any screenname)sxlogin.html
: to login (default screenname isscreenx
) + chatscreenx.html
: to watch the broadcasted screen namedscreenx
+ chat
-
For configuration, edit
classes/screenx.conf
: and restart screenx server.HttpPort
/HttpsPort
: you should also edithttp/sxconfig.js
EnableLogin
: login from web (only https)EnableHttpLogin
: login from httpLoginPassword
: change this before you enable login. (algorithm: challangecode)
Maybe you can use this sytem for the following scenes:
- Coding Interview
- Remote Pair-programming
- Real-time Hackathon
Of course you can use ScreenX in any other situations not listed above :-)
It's true that ScreenX creates some kind of security holes. So, we strongly recommend to run this system on your sandbox-like server first, a server that doesn't have any secret information and no problems whenever down. For example, using RackHub and this 1 line setup gist, you can easily setup and initialize server with very low cost.
If you use this system on not such servers, we recommend to read the code before running ScreenX in order to understand how dangerous it is. And please do it at your own risk.
- ScreenX TV
- ScreenX TV Core
- ScreenX TV GCC Client
- ScreenX TV Ruby Client
- ScreenX TV Sandbox
- ScreenX TV News
- ScreenX (Java-based stand-alone Software)
If you find any issue on ScreenX, please let us know it on this issue tracking system.
Also, we're very welcome to your pull requests.
(The MIT License)
Copyright (c) 2012 tomoya ishida
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.