/wikimgur

Primary LanguageJavaScript

Wikimgur

This repo only contains frontend files for wikimgur.com. Here is the repo containing the (completely separate) backend.

screenshot #1 of bbq-journal.com

wikimgur.com is a mashup of current Imgur images and related Wikipedia content.

Image tags are used to dynamically retreive and display Wikipedia content.

Here's how it works:

  • Imgur GET requests are performed every 6 minutes
  • Images are filtered for the following conditions:

    • No image content
    • Multiple images
    • No tags
    • Tags without corresponding Wikipedia content (#eatwhatyouwant)
    • Tags linking to Wikipedia disambiguation pages

  • Pageview counts for every tag from every image are queried from the Wikimedia API
  • For each image, only the tag with the most Wikipedia pageviews is queried for Wikipedia content

Technologies used:

  • React
  • Redux
  • redux-thunk