Home > acme-pie-tracker

acme-pie-tracker

Acme-pie-tracker is a project mainly written in JavaScript, it's free.

Tracker for Acme Cafe pie mentions on Twitter, built with Node.js

This is a simple implementation of an Acme Cafe pie tracker. It uses node.js + WebSockets + Twitter Streaming API to push tweets onto a page and into MongoDB in realtime. It has a long way to go but this is a good start.

Currently working:

  • Insert tweets into MongoDB and broadcast immediately onto websocket
  • Render pages using express and pull tweets from MongoDB.

Todo:

  • add socket.IO or similar for cross browser streaming
  • add live sorted leaderboard and recent pies tracking
  • add heuristic analysis to track the kind of pies

To get started:

  • install node.js, express, and ejs.
  • clone the repository with 'git clone git://github.com/tylor/acme-pie-tracker.git'
  • move into the directory 'cd acme-pie-tracker'
  • initialize the submodules: 'git submodule update --init'
  • build node-mongodb-native:
    • move into the directory 'cd libs/node-mongodb-native'
    • build it by running 'make'
    • move back to root: 'cd ../..'
  • enter your Twitter credentials in acme-pie-tracker.js
  • start mongodb server
  • start Acme pie server by running 'node acme-pie-tracker.js'.
  • open acme-pie-tracker.html in a modern browser with WebSockets support, like Chrome.