HTML5 multiplayer whiteboard
asie d60a1ffc12 remove URI.js mention from readme 3 weeks ago
lib remove URI library, update libraries 3 weeks ago
rooms First commit 5 years ago
static remove URI library, update libraries 3 weeks ago
templates remove URI library, update libraries 3 weeks ago
.gitignore added .gitignore 5 years ago
README.md remove URI.js mention from readme 3 weeks ago
TODO Moved room config to separate category, fixes #3 and many related config bugs 5 years ago
app.js remove URI library, update libraries 3 weeks ago
chat.js Added chat wordfilters + default <3 filter 5 years ago
config-default.json remove URI library, update libraries 3 weeks ago
config.json Moved room config to separate category, fixes #3 and many related config bugs 5 years ago
package.json remove URI library, update libraries 3 weeks ago
room.js fixed a rather odd drawing bug 3 years ago
user.js split types.js 5 years ago

README.md

Description

Greyboard is an HTML5 multiplayer writeboard.

License

There is no license yet, so please assume the code may only be used for learning purposes and/or hosting a private Greyboard server.

Installation

  1. Install the latest version of Node.js.
  2. Install the prerequisites for node-canvas:

    $ sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++

  3. Install modules in the Greyboard directory:

    $ cd greyboard $ npm install

  4. Configure config.json and rooms/*/config.json with your editor of choice.

  5. Start Greyboard:

    $ node app.js

Libraries used

  • Socket.io
  • JSON2
  • Tinycolor
  • Underscore.js

On the server side only:

  • Express web framework
  • Node-canvas

On the client side only:

  • JQuery
  • JQuery-ui [being phased out, used only for slider]
  • Twitter Bootstrap
  • LAB.js [async loading]