A Node.js app designed to show tweets on a big screen.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
public
views
.gitignore
LICENCE.txt
Procfile
README.md
config.json
package.json
server.js

README.md

tweetstream

tweetstream is a Node.js app that's designed to show the results of a Twitter search on a big screen. It uses Twitter's streaming API to track a particular keyword, and then uses WebSockets to stream these to the front-end. The tweets are then queued up in the front end, and a new one is shown every 6 seconds.

Running

Register an application with Twitter, and then set the following environment variables:

  • TWITTER_CONSUMER_KEY
  • TWITTER_CONSUMER_SECRET
  • TWITTER_ACCESS_TOKEN_KEY
  • TWITTER_ACCESS_TOKEN_SECRET

You can then run the application like so:

$ node server.js

Finally, go to http://localhost:7080 to view the tweets.