A simple collaborative whiteboard.
https://proyuki02-whiteboard.glitch.me/
$ npm i
$ npm start
And point your browser to http://localhost:3000
.
Optionally, specify a port by supplying the PORT
env variable.
Set env of Redis server to REDIS_URL
.
$ docker run --name redis -d -p 6379:6379 redis redis-server --appendonly yes
$ REDIS_URL=redis://localhost:6379 npm start
Optionally, specify the prefix for the key by specifying the REDIS_PREFIX
env variable. (Default is whiteboard-
)
$ REDIS_URL=redis://localhost:6379 REDIS_PREFIX=whiteboard- npm start
Optionally, If you want to change the expiration time (seconds) of the board, set the REDIS_TTL_SEC
env variable. (Default is 30 days)
$ REDIS_URL=redis://localhost:6379 REDIS_TTL_SEC=86400 npm start
- Draw on the whiteboard and all other users will see you drawings live.
- Sticky notes with signature support.
- Multiple whiteboards support.
- Undo/Redo support.
- Redis support (optional).
MIT