All projects
DeliveredMobile app

Arabic Digital Library and Reader

Eighteen Arabic books, searchable offline

A reading app and publishing pipeline for a catalogue of 18 Arabic books in 53 volumes and about 29,700 edition pages: volumes download as signed packages, full-text search works offline, and a printed-page mode shows the original layout.

My role
Sole engineer: content pipeline, app and hosting
Timeline
Sep – Nov 2026
Platforms
Android, Cloudflare
Private system, test data
Three app screens side by side: reading settings, offline downloads and full-text search
Books in the catalogue
18
Edition pages
~29,700
Lines of code
~26k
Automated tests
~170

Screens use test or demo data. Private client details have been removed.

Engineering decisions

The hard part was not the app. It was turning source documents into a fast, verifiable, searchable package, and publishing each release safely.

A content pipeline
Python converts the source documents into SQLite with full-text search, then into versioned packages. A single-book release pipeline publishes one book at a time, and a small tool designs the covers.
Signed downloads
The catalogue is signed with Ed25519 and a package installs only after its hash verifies, so the app only installs content it can check.
Package format v2
One volume went from 61.7 MB to 1.9 MB without changing a character of its text.
Releases that are checked after upload
Every changed package is downloaded again and hash-checked before the release is recorded, so a half-uploaded file never reaches readers.
Arabic search that works
SQLite FTS5 full-text search with Arabic normalisation runs fully offline, in background isolates so reading stays smooth.
Quranic text rendered correctly
Quranic text keeps its original font through a QCF2 glyph mapping, and a Topics screen groups the material by subject.
Served from the edge
Cloudflare Workers serve the static assets, and an R2-backed repository worker serves the packages.

Mobile

  • Flutter
  • Dart
  • Riverpod 3
  • go_router

Data

  • SQLite FTS5
  • Ed25519 signatures

Pipeline

  • Python
  • PyMuPDF
  • lxml

Hosting

  • Cloudflare Workers
  • Cloudflare R2

Where it stands

The content is published and the app is distributed as an APK.

  • The catalogue holds 18 books, 53 volumes and about 29,700 edition pages.
  • Search and reading work without a connection once a volume is installed.

Need something like this?

Tell me about the operation you want to organise and I will map it into a clear system before writing a line of code.

Let's talk