Skip to content

Comet service written in Erlang for pushing messages from backend to clients and from clients to backend. Uses socket.io protocol for communication with clients. Can work with backend written in any language using JSON messages over HTTP.

License

Notifications You must be signed in to change notification settings

chinnurtb/rattle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rattle

======

Rattle is a lightweight Socket.io server written in Erlang. You can easily add custom message handling logic to it and you don't have to know how to write even single line in Erlang. Just start Rattle and integrate it with your own backend using simple HTTP rest API.

First demo

======

  • Clone dependencies ./rebar get-deps
  • Compile and start Rattle server (just type ./dev when in rattle project directory)
  • Open in browser example socket.io client. client.html from test directory
  • You should get message Connected to rattle! in browser window
  • Now send message to clients using API, execute bash script .\push "Let's rattle" from test directory
  • Message should appear in browser :)

About

Comet service written in Erlang for pushing messages from backend to clients and from clients to backend. Uses socket.io protocol for communication with clients. Can work with backend written in any language using JSON messages over HTTP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published