Skip to content

screenxtv/screenxtv-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScreenX TV Core

ScreenX TV Core - Broadcasting

ScreenX TV Core is a opensource self-hosted server to broadcast your terminal, internally used in ScreenX TV.

The ScreenX TV allows only to broadcast, but this ScreenX TV Core also enabls you to control your terminal from web browsers.

ScreenX TV Core - Remote Controlling

For details, see sample1 and sample2.

Requirements (command)

  • Nodejs (node)
  • Node Package Manager (npm)
  • Ruby (ruby)

/sample1

/sample1 is a sample to broadcast and remote-control example.

  1. Install required packages: cd ./server/; npm install
  2. Launch server: npm start
  3. Broadcast/Control your terminal: ruby broadcast_sample.rb / ruby remote_control_sample.rb
  4. Click the URL with your browser: http://localhost:8080/

/sample2

/sample2 is a sample to remotely login your terminal; you can issue the shell process log in it from web browser.

  1. Install required packages: cd ./server/; npm install
  2. Launch server: npm start
  3. Click the URL with your browser: http://localhost:8080/

Notice

If you want to use these codes in your project, you should consider using a proper protocol (instead of raw tcp-socket), authentication, and encryption for security issues.

Related Works

License

(The MIT License)

Copyright (c) 2013 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.

About

Core part of ScreenX TV and some sample code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published