HTML5 multiplayer whiteboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asie d60a1ffc12 remove URI.js mention from readme пре 1 година
lib remove URI library, update libraries пре 1 година
rooms First commit пре 6 година
static remove URI library, update libraries пре 1 година
templates remove URI library, update libraries пре 1 година
.gitignore added .gitignore пре 6 година
README.md remove URI.js mention from readme пре 1 година
TODO Moved room config to separate category, fixes #3 and many related config bugs пре 6 година
app.js remove URI library, update libraries пре 1 година
chat.js Added chat wordfilters + default <3 filter пре 6 година
config-default.json remove URI library, update libraries пре 1 година
config.json Moved room config to separate category, fixes #3 and many related config bugs пре 6 година
package.json remove URI library, update libraries пре 1 година
room.js fixed a rather odd drawing bug пре 5 година
user.js split types.js пре 6 година

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]