Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
demo of websocket service with ChicagoBoss, sharing a realtime drawing
branch: master

This branch is 37 commits behind mihawk:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ebin
priv
src
.gitignore
Makefile
README.md
boss.config
init-dev.sh
init.sh
rebar
rebar.cmd
rebar.config
start-server.bat

README.md

Draw is a demo of the websocket protocol in ChicagoBoss

Background

open whiteboard is a drawing websocket javascript application, you can find more information on the given link.

https://developer.mozilla.org/fr/demosdetail/open-whiteboard

Quickstart

Get ChicagoBoss

git clone http://github.com/mihawk/ChicagoBoss.git
cd ChicagoBoss 
make
cd ..

Get draw

git clone http://github.com/mihawk/draw.git
cd draw
make
make start

Open http://localhost:8001/draw in your browser, open a second web browser on the same url, or a tab in the first browser then start to draw. :)

Digging in

Behind the scenes, you should look at:

src/lib/draw_protocol.erl
priv/init/draw_02_draw_protocol.erl
Something went wrong with that request. Please try again.