reveal-socket-remote
v1.4.0
Published
Reveal.js socket io remote server with plugin
Downloads
4
Readme
Reveal Remote
Build with socket.io and fastify.
Usage
Clone this repo
Install dependencies:
# With yarn yarn # or with npm npm install
Run server
node server/index.js --port 1337 --host 0.0.0.0
Setup your presentation
Setup your reveal project
Install this from npmmn
# With yarn yarn add reveal-socket-remote # or with npm npm install reveal-socket-remote --save
Import the plugin
// Setup your reveal stuff // [...] // Then import my plugin const { initRemoteSocket } = require('reveal-socket-remote'); // Now you can init the connection // The first argument needs to be the Reveal instance initRemoteSocket(Reveal, 'your server address here')