https://github.com/squaremo/cloudfoundry-snrub-demo
Demo of PuSH client, snrub
https://github.com/squaremo/cloudfoundry-snrub-demo
Last synced: about 1 month ago
JSON representation
Demo of PuSH client, snrub
- Host: GitHub
- URL: https://github.com/squaremo/cloudfoundry-snrub-demo
- Owner: squaremo
- Created: 2012-02-03T17:58:13.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-02-15T15:06:17.000Z (over 14 years ago)
- Last Synced: 2025-01-25T05:41:16.548Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://snrub-demo.cloudfoundry.com/
- Size: 184 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What what what?
This is a demo of [snrub](https://github.com/squaremo/snrub), a
Node.JS module for subscribing to
(PuSH)[http://pubsubhubbub.appspot.com) feeds.
In a nutshell, it's proxying PuSH to the browser using
[SockJS](http://sockjs.org/).
It's designed to run on CloudFoundry but can in principle run
anywhere. To run in a publicly-accessible place you'll want to set two
environment entries. For CloudFoundry:
$ vmc env-add my-snrub-demo SECRET="totally random string"
$ vmc env-add my-snrub-demo HOST="http://my-snrub-demo.cloudfoundry.com"
Note that the host must start with the protocol, i.e., `"http://"`.
A running version of this demo is at
http://snrub-demo.cloudfoundry.com/.