Skip to content

An Erlang web app uses websockets on MochiWeb. Post sticky notes online. All actions are pushed (broadcasted) to all participants.

License

Notifications You must be signed in to change notification settings

sunneach/realtime-stickynotes

Repository files navigation

realtime stickynotes (wiki)

If you connect several clients - the changes made by one of them will be immediately pushed to all others.

This implementation uses websockets with mochiweb: https://github.com/mochi/mochiweb

Pre-requisites:

  • Erlang OTP, (seen it working on OTP 24, with Google Chrome)

steps to make it work

Linux

mkdir notes
cd notes
git clone git clone git@github.com:sunneach/stickynotes.git
git clone git@github.com:suneach/jQuery-pure-libs.git
git clone git@github.com:mochi/mochiweb.git
cd stickynotes
~/makeit.sh
~/launch.sh

Windows

mkdir notes
cd notes
git clone git clone git@github.com:sunneach/stickynotes.git
git clone git@github.com:suneach/jQuery-pure-libs.git
git clone git@github.com:mochi/mochiweb.git
cd stickynotes
makeit.bat
launch.bat

Done.

visit the http://localhost:5001.

About

An Erlang web app uses websockets on MochiWeb. Post sticky notes online. All actions are pushed (broadcasted) to all participants.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published