HTML5 multiplayer whiteboard
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
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]