Skip to content

mo3rfan/syncplay-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syncplay-web

wercker status

Join the chat at https://gitter.im/PowerInside/syncplay-web

Web port of the syncplay protocol. (Client side only)

Talks with syncplay server running on TCP/IP using a WebSockets bridge.

Quick start

  1. Run the syncplay server on locally. eg, ./syncplayServer --port 8995 --isolate-rooms
  2. Run a websockets bridge. like ./run localhost:9000 localhost:8995
  3. Run multiple instances of index.html from your browser.
  4. Read the index.html source for usage details.

Compiling manually

  1. npm install to install devDependencies like flow, babel plugins etc
  2. Optional: npm run-script flow to check for type errors. (src/syncplay.js)
  3. npm start to generate js file in ./build folder. (By default it will build development version; do BABEL_ENV=production npm start for a release build)