Chat over Websockets - Ruby server with Javascript clients.
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.rvmrc
Gemfile
LICENSE
README.md
application.css
application.js
chatter.rb
index.html
jquery-1.7.2.min.js
messages.rb
server.rb

README.md

Chat over Websockets

Dependencies

rvm gemset create chowets
rvm gemset use chowets
bundle install

Usage

From the command line

ruby server.rb

From the browser

file:///path/to/chowets/index.html

Type text into the textbox and hit enter to see the message sent back
from the server. Have multiple people join to see it work in real-time!