r/coolgithubprojects • • 10d ago

I built WekI . an offline Wikipedia reader that syncs when you're back online

https://github.com/aymane-amounas/WekI

I wanted a way to keep Wikipedia available offline without being stuck with an outdated snapshot, so I built WekI.

It uses a local ZIM archive for offline reading and a SQLite overlay to store newer articles and changes when you reconnect.

A few things it can do:

  • Read Wikipedia completely offline.
  • Search across the local archive and newer articles.
  • Sync updated articles, redirects, and deletions when online.
  • Keep the original ZIM archive untouched.
  • Resume unfinished sync work using a persistent backlog.

Built with Python, SQLite, and libzim.

I've tested it with 400k+ Simple English Wikipedia articles. The live-sync smoke test completed with zero failed fetches, and the test suite currently has 188 tests.

It's still experimental - synchronization at full English Wikipedia scale isn't solved yet.

I'd love feedback, especially on the offline-first design and sync approach.

1 Upvotes

5 comments sorted by

3

u/RatherNott 10d ago

Was an LLM used at all during development?

1

u/Itchy-Beautiful5008 10d ago

Yes, I used Claude to help write parts of the code and debug others. I'm also experimenting with integrating LLMs into my development workflow across my projects, because I think learning how to work with these tools is becoming important nowadays

2

u/RatherNott 9d ago edited 9d ago

 Thanks for disclosing that. Even though you have found the LLMs useful, I think it worthwhile to point out the downsides of their use:

AI data centers are being constructed at an alarming rate, and there are already 8 billion prompts per day, with billions more planned and on the way.

The effect this has on the climate when we are already so close to irreversible tipping points is often unknown by AI users.

https://m.youtube.com/watch?v=5p426fSlYH4

https://www.theguardian.com/environment/ng-interactive/2026/oct/22/finland-google-felling-trees-datacentre

Using it also contributes to a dystopic surveilence state.

https://m.youtube.com/watch?v=5lYsO4k7OIY

Do you think you'd be able to switch to a local LLM at least, to avoid some of the downsides mentioned above?       

1

u/Itchy-Beautiful5008 9d ago

That's a fair concern. I actually experiment with local models too, and I'm interested in making more of my development workflow local-first.

I don't think AI is without environmental or privacy costs, and I don't blindly trust its output. I use it as a tool, review what it produces, test it, and take responsibility for the final code.

I'm still learning where these tools genuinely help and where they don't. I don't think pretending they don't exist is the answer either.

1

u/RatherNott 9d ago

I think it makes sense to not use corporate hosted models until we live in a world that is totally powered by renewables. Using it before that point would only compound climate change.