Skip to content

gleicon/restmq_websockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Adaption from from https://github.com/rubenfonseca/twitter-amqp-websocket-example to cyclone/restmq

Now that cyclone has websockets build in, restmq has inherited it and I implemented a websocket consumer.

It makes possible to enable javascript applications to receive straight from a queue. Interchange format still JSON.

To test:

- Install:

Twisted Twitter Stream
https://github.com/fiorix/twisted-twitter-stream

RestMQ:
https://github.com/gleicon/restmq


- Deploy the files under templates to a webserver or run python -m SimpleHTTPServer inside the folder.
- edit producer.py and add your passwd and words to filter.
- run it with python producer.py
- Point your browser to your http server


[email protected]
http://zenmachine.wordpress.com
https://github.com/gleicon

About

Example on how to use/deploy restmq websockets endpoint on a web app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages