All Projects → edsu → wikitweets

edsu / wikitweets

Licence: other
see tweets that reference wikipedia articles

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].