https://github.com/edsu/wikitweets
see tweets that reference wikipedia articles
https://github.com/edsu/wikitweets
Last synced: 10 months ago
JSON representation
see tweets that reference wikipedia articles
- Host: GitHub
- URL: https://github.com/edsu/wikitweets
- Owner: edsu
- Created: 2012-04-26T09:39:46.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2015-12-31T03:40:32.000Z (over 10 years ago)
- Last Synced: 2025-05-06T23:36:00.213Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://wikitweets.herokuapp.com
- Size: 70.3 KB
- Stars: 14
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
wikitweets
==========
wikitweets is a [Node](http://nodejs.org) web application that streams Tweets
that reference Wikipedia to the browser. The app actively archives Tweets it
has received at the [Internet Archive](http://archive.org/details/wikitweets).
How Does It Work?
-----------------
wikitweets uses the [Twitter Streaming API](https://dev.twitter.com/docs/streaming-api/methods) 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:
* [express](http://expressjs.com/)
* [socket.io](http://socket.io)
* [ntwitter](https://github.com/AvianFlu/ntwitter)
* [request](https://github.com/mikeal/request)
* [unshorten](https://github.com/mathiasbynens/node-unshorten)
* [underscore](http://documentcloud.github.com/underscore/)
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](https://dev.twitter.com/apps/new) credentials and add them to
config.json
* get [Internet Archive](http://archive.org/help/abouts3.txt) credentials so
wikitweets can archive JSON there.
* `node app.js`
* open http://localhost:3000/ in browser
Licnse
------
* CC0