Watercooling
Asynchronous webhook queueing with skinny daemon support.
Inspired by Watercoolr (http://watercoolr.nuklei.com/) and @progrium's Hookah.
Installing
From rubygems:
sudo gem install watercooling
From source:
rake build
sudo rake install
Starting
Start as a regular server:
watercooling start
Start as a daemon:
watercooling start -d
Using
Required param:
- _url [webhook end destination]
Optional params:
- _callback [url for POST request on SUCCESS]
- _errback [url for POST request on FAILURE]
Example:
→ POST /dispatch { '_url':'http://www.postbin.org/1jp87ds', '_callback':'http://callbackaddress.com', '_errback':'http://errbackaddress.com', etc.. }
Todo
- pub/sub support
- true evented support
- web interface
- application configuration
success and error callbacks
Helping
Help me make this a better product. Contact me at [email protected].
Copyright
Copyright (c) 2010 @_ty. See LICENSE for details.