r/coolgithubprojects • u/Itchy-Beautiful5008 • 10d ago
I built WekI . an offline Wikipedia reader that syncs when you're back online
https://github.com/aymane-amounas/WekII 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.
3
u/RatherNott 10d ago
Was an LLM used at all during development?