
01Overview
An independent audio library for a Sheikh's recitations, lessons and supplications, owned end to end so the content no longer depends on a single social platform. A native Expo app for Android and iOS, a Next.js web app and an Arabic admin dashboard share one Cloudflare Worker API on D1 and R2.
02Problem
A Sheikh's lectures, lessons and recitations lived on social platforms. The library needed a home of its own: listenable without an account, in Arabic first, on phones, in the browser, and managed by moderators.
03My role
A personal project. I built all four parts: the Expo mobile app, the Next.js web app, the Arabic admin dashboard and the Cloudflare Worker API.
04Approach
Three clients, one backend. The Expo app (Expo Router, TanStack Query, Zustand, expo-sqlite) works guest-first and offline. The web app is a Next.js static export served by the same Worker as the API and the dashboard, so there is no second server. The Hono Worker on D1 and R2 handles the catalog, uploads, review and publishing.
05Key decisions
Static web export on the existing Worker
Pages are static files served by the same Worker as the API and the dashboard: no new resources and no server to patch. Library pages are pre-rendered from the live catalog with real titles, metadata and JSON-LD, then hydrate and switch to the live catalog.
One player outside React
On the web, a single <audio> element lives outside React, so playback continues across page changes, with queue, repeat, shuffle, speed, sleep timer and Media Session controls mirroring the mobile player.
A moderated publishing pipeline
Resumable uploads into a private bucket, server-side audio validation, moderator review with signed links, approve → draft → publish, immutable public copies, a versioned catalog the app syncs offline-first and an append-only audit log.
Same rules everywhere
The web app reuses the mobile app's pure modules unchanged: catalog, Arabic-aware search, the personal library with an outbox and last-write-wins sync.
06The back of it
Three surfaces, one Worker
Mobile app
Expo · Android & iOS
Web app
Next.js static export
Admin
Vite + React · Arabic RTL
Cloudflare Worker
Hono · catalog, uploads, review, publishing
upload → validate → review → draft → publish
D1
catalog, library, audit log
R2 public
audio, artwork, catalog
R2 private
submissions, masters
Importer
Telegram export → AAC → private bucket
07Highlights
- Expo app for Android and iOS: background playback, offline downloads, playlists
- Next.js static web app with one persistent player
- Arabic RTL admin dashboard for moderators
- Cloudflare Worker (Hono) on D1 and R2 with a moderated publishing pipeline
- Arabic-first, English, light and dark on every surface
◆Gallery

Captured from the live siteLive site, captured 2026-11-28. 
Captured from the live siteLive site, captured 2026-11-28. 
Captured from the live siteLive site, captured 2026-11-28. 
Captured from the live siteLive site, captured 2026-11-28.





