• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    JavaScript
  • Created almost 15 years ago
  • Updated about 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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 with Ruby and AMQP)

More info here.

Requirements:

  • Node.js.
  • HTML5 WebSockets 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)