Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.textile
Octocat-spinner-32 index.html
Octocat-spinner-32 server.js
README.textile

Twitter Node.js WebSocket Example

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.

Requirements:

  • Node.js.
  • HTML5 WebSocket capable browser.

How To:

  • 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).

Libraries used:

Andre Goncalves (@andregoncalves)

Something went wrong with that request. Please try again.