Web port of the syncplay protocol. (Client side only)
Talks with syncplay server running on TCP/IP using a WebSockets bridge.
- Run the syncplay server on locally. eg,
./syncplayServer --port 8995 --isolate-rooms
- Run a websockets bridge. like
./run localhost:9000 localhost:8995
- Run multiple instances of index.html from your browser.
- Read the index.html source for usage details.
npm install
to install devDependencies like flow, babel plugins etc- Optional:
npm run-script flow
to check for type errors. (src/syncplay.js) npm start
to generate js file in./build
folder. (By default it will build development version; doBABEL_ENV=production npm start
for a release build)