Skip to content

A sample chat server written in Sinatra and EM:Websockets

Notifications You must be signed in to change notification settings

dgoldie/sinatra-chat-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

EventMachine and Sinatra based chat server. Client provided by michiel's node-websocket-server example with some refactoring by me, with much thanks!

USAGE:

Clone, then ruby sinatraserver.rb, making sure you have the required dependencies installed.

Interesting note: You cannot run a Sinatra server and an EM server from the same file when hosting through Heroku. Turns out a rack application is given a single port through Thin, so hosting it on two different ports proves impossible.

About

A sample chat server written in Sinatra and EM:Websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published