GithubHelp home page GithubHelp logo

imclab / wikitweets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edsu/wikitweets

0.0 1.0 0.0 60 KB

see tweets that reference wikipedia articles

Home Page: http://wikitweets.herokuapp.com

wikitweets's Introduction

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

wikitweets's People

Contributors

edsu avatar ruebot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.