Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andregoncalves/twitter-nodejs-websocket

Twitter streaming directly to browser with Node.js and HTML5 websockets
https://github.com/andregoncalves/twitter-nodejs-websocket

Last synced: 29 days ago
JSON representation

Twitter streaming directly to browser with Node.js and HTML5 websockets

Awesome Lists containing this project

README

        

h1. Twitter Node.js WebSockets Example

Quick experiment of direct streaming from twitter to the browser, with no polling, using Node.js.
(Follow up to Ruben Fonseca "version":http://github.com/rubenfonseca/twitter-amqp-websocket-example with Ruby and AMQP)

More info "here":http://bit.ly/71uZNv.

h2. Requirements:

* Node.js.
* HTML5 WebSockets capable browser.

h2. How To:

* Download and install node.js (instructions "here":http://nodejs.org/#download).
* Download the project from "github":http://github.com/andregoncalves/twitter-nodejs-websocket.
* Start the server: @node server.js @.
* Open @index.html@ with a WebSocket compatible browser (Chrome or Webkit nightly).

h2. Libraries used:

* "Minimal websocket library":http://github.com/ncr/node.ws.js for node.js from Jacek Becela.

Andre Goncalves ("@andregoncalves":http://twitter.com/andregoncalves)