Skip to content

edsu/wikitweets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

see tweets that reference wikipedia articles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published