A message Q and comet framework for sending any connected browser javascript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
demo.html
json.js
server.js

README

I created pushJS to send javascript updates to users of any website. 

Goals:
This project should make it very easy to send Javascript to connected user's browsers. It should be one way communication.
In the future I would like to get a live feed of who is logged on and what they are doing.

#requires
node.js     http://nodejs.org/
redis       http://redis.io
socket.io   http://socket.io/
node_redis  https://github.com/mranney/node_redis


Potential uses:
	News websites:
		A breaking news alert
	Shopping sites:
		Push newly added deals


Demo:

The usernames are randomly generated but can easily be replaced with a username from your website.

http://hostname:8081/demo.html   # log into the website and wait for updates
http://hostname:8081/whoison     # admin console to send messages to users






Copyright (c) 2011 Adam Ilardi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.