Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

see tweets that reference wikipedia articles

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 public added info about the tweet archive to the display September 19, 2012
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 app.js
Octocat-spinner-32 config.json.tmpl
Octocat-spinner-32 package.json
README.md

wikitweets

wikitweets is a Node web application that streams Tweets that reference Wikipedia to the browser. The app actively archives Tweets it has received at the Internet Archive.

How Does It Work?

wikitweets uses the Twitter Streaming API to filter out tweets that include links to Wikipedia. It is convenient that Twitter's filtering and search API calls are able to use of the original (unshortened) URLs. The Twitter API does not include the unshortened URLs in the API response JSON, so those are looked up in order to determine which article is being referenced in which Wikipedia. wikitweets then looks up the article using the relevant language Wikipedia API to get the Wikipedia article summary. The mashup of relevant bits from the tweet and the Wikipedia article are then streamed to the browser.

Thanks

wikitweets stands on several giants shoulders, including:

Install

  • install node and git
  • git clone https://github.com/edsu/wikistream.git
  • cd wikistream
  • npm install
  • cp config.json.tmpl config.json
  • get Twitter credentials and add them to config.json
  • get Internet Archive credentials so wikitweets can archive JSON there.
  • node app.js
  • open http://localhost:3000/ in browser

Licnse

  • CC0
Something went wrong with that request. Please try again.