Skip to content

A feed of the daily top articles on Wikipedia in many languages.

License

Notifications You must be signed in to change notification settings

taroface/wikifeedia

 
 

Repository files navigation

wikifeedia

A Feed for top Wikipedia articles.

This is a sample application highlighting the benefits of using CockroachDB, specifically Follower Reads.

Architecture

The backend has two components, the server and the crawler which are both compiled into the same wikifeedia binary. These components are a simple go application. The crawler pulls the top articles list from the wikipedia API and then retrieves the relevant article information and writes it to the db.

The server provides a minimal graphql schema to retrieve the articles and serves the static assets. GraphQL was chosen over a simple HTTP endpoint mostly just as a way for the author to experiment with Apollo in the client.

The backend is deployed on k8s with servers running in multiple regions and a crawler run as a cron job in just one.

The web app uses React and Apollo.

About

A feed of the daily top articles on Wikipedia in many languages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 59.3%
  • JavaScript 28.2%
  • CSS 5.3%
  • HTML 3.8%
  • Shell 2.6%
  • Dockerfile 0.8%