a simple websocket chatroom page, using em-websocket, ruby and javascript. thanks to this repo:https://github.com/igrigorik/em-websocket
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
lib
Gemfile
Gemfile.lock
README.md
Rakefile
echo.rb
em-websocket.gemspec
flash_policy_file_server.rb
multicast.rb
ping.rb
simple_chat.html
simple_chat.js
simple_chat.rb
test.html

README.md

Simple Websockets chat room

This tiny project is using em-WebSocket working together with ruby

Usage:

install the neceressary dependencies first

bundle install

just run the simple_chat.rb first then start a webserver, like

python -m SimpleHTTPServer

then visit localhost:8000 you will see how it works.