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]