Quick experiment of direct streaming from twitter to the browser, with no polling, using Node.js.
(Follow up to Ruben Fonseca version with Ruby and AMQP)
More info here.
- Node.js.
- HTML5 WebSockets capable browser.
- Download and install node.js (instructions here).
- Download the project from github.
- Start the server:
node server.js <twitter_username> <twitter_password> <optional_keyword>
. - Open
index.html
with a WebSocket compatible browser (Chrome or Webkit nightly).
- Minimal websocket library for node.js from Jacek Becela.
Andre Goncalves (@andregoncalves)