ذDhikrlyA little, every day
AdhkārṢalāhQur’anTasbīḥ
Profile
ذDhikrlyA little, every day
ARCHITECTURE, TECH STACK & APIS

Under the Hood of Dhikrly

A transparent technical guide to every open-source library, astronomical solar engine, audio DSP pipeline, and external API powering Dhikrly.

View Pro Feature PipelineSupport Open-Source Khidmah
Technical Principles

Zero Tracking

No analytics cookies · No ad SDKs

Total Static Routes: 33 Pages
Our Privacy & Security ArchitectureEthical Engineering

Zero Third-Party Trackers. 100% Offline Capable. Client-Side Cryptography.

Unlike commercial apps that sell your location data or inject telemetry trackers, Dhikrly contains zero Facebook Pixels, zero Google Analytics tags, and zero third-party advertising scripts. Prayer calculations, missed prayer tracking, and dhikr counts happen entirely on your local device.

System Architecture Layers

Layer 1: Frontend & PWA

Next.js 16 + React 19 App Router with Turbopack, Tailwind CSS design system, and Service Worker offline caching.

Layer 2: Audio & Media DSP

Web Audio API multi-bus DSP mixer with gain nodes, lossless Haramayn ambient soundscapes, and W3C MediaSession controls.

Layer 3: External APIs

Quran.com API v4, EveryAyah CDN, Adhan.js astronomical math, OpenStreetMap Nominatim & Overpass QL spatial queries.

Layer 4: Cloud & Sync

Supabase PostgreSQL with Row Level Security (RLS), Web Push VAPID alerts, and planned dedicated Go/Rust microservices.

Detailed Technologies & APIs Directory

Filter by category to inspect exact versions, roles, and technical specifications.

Core RuntimeFull-Stack Web Framework

Next.js 16 (App Router)

High-performance React application framework with Turbopack, static site generation (SSG) across all 32+ routes, streaming SSR, and edge route handlers.

Next.js 16.1.7 · Turbopack engine · Zero-config route cachingDocs
UI EngineUI Library & Architecture

React 19

Latest React engine featuring concurrent rendering, modern hooks, transition handling, and client/server component boundaries.

React 19.2.3 · React DOM · Optimized reconciliationDocs
LanguageType Safety & Domain Models

TypeScript 5

100% strict type safety across all spiritual data models, prayer calculations, storage abstractions, and external API responses.

TypeScript 5.x · Strict Mode · 0 untyped any variablesDocs
StylingStyling & Design System

Tailwind CSS & Design Tokens

Custom bespoke design system using HSL color tokens, dark/light mode CSS custom properties, backdrop blur glassmorphism, and responsive breakpoints.

Tailwind 3.4 · HSL dynamic palette · Zero runtime CSS overheadDocs
PWAOffline-First Application

Progressive Web App (PWA)

Native-like installable app with custom service worker, cache-first strategy for static assets, network-first for pages, and standalone display mode.

CacheStorage API · Web App Manifest · Self-healing offline cache
Audio DSPAudio DSP & Soundscape Engine

Web Audio API

Multi-channel Web Audio DSP mixer providing independent gain nodes, zero-latency loop points, and binaural focus mixing for Haramayn ambient soundscapes.

AudioContext · GainNode buses · 320kbps lossless loop stems
Holy QuranHoly Qur’an & Word-by-Word Engine

Quran.com API v4

Official REST endpoints providing authentic Uthmani scripture, Saheeh International translations, verse metadata, and isolated word-by-word pronunciations.

API v4 · Uthmani Hafs script · Audio timestamps & verse rangesDocs
RecitationsAudio Recitation Delivery

EveryAyah Audio CDN

High-bandwidth distributed audio CDN serving verse-by-verse recitations by Sheikh Mishary Rashid Alafasy, Sheikh Mahmoud Khalil Al-Husary, and Sheikh Abdul Basit.

MP3 128kbps/192kbps · Low-latency worldwide CDN streamingDocs
AstronomyPrayer Times Solar Engine

Adhan.js (Astronomical Math)

Astronomical solar positioning library calculating Fajr, Sunrise, Dhuhr, Asr, Maghrib, and Isha using trigonometric solar declination and equation of time.

7 International Conventions (MWL, ISNA, Umm al-Qura, etc.) · Hanafi/Standard AsrDocs
GeolocationReverse Geocoding

OpenStreetMap Nominatim

Open-source, privacy-preserving geocoding engine that translates latitude and longitude into city and country names without tracking users or requiring Google API keys.

Nominatim OpenStreetMap · HTTPS Reverse Geocoding · Zero profilingDocs
Masjid FinderWorldwide Masjid Discovery

OpenStreetMap Overpass API

Spatial Overpass QL querying that dynamically discovers mosques and places of worship within a 15km radius of the user anywhere in the world.

Overpass QL · Node & Way spatial parsing · Direct navigation linksDocs
Halal ScannerHalal Food & Additives Database

Open Food Facts & EFSA

Barcode lookup database combined with a localized European Food Safety Authority (EFSA) E-number catalog classifying over 350 food additives as Halal, Haram, or Mushbooh.

Barcode Scanner API · E-Number classification matrix · Offline lookupDocs
Web PushBackground Push Notifications

Web Push Protocol (RFC 8292)

Standardized VAPID push protocol delivering morning and evening adhkār notifications, Friday Al-Kahf reminders, and Adhan alerts even when the browser is closed.

VAPID Elliptic Curve P-256 · ServiceWorker PushManager · Custom vibration patterns
Cloud SyncDatabase & Cloud Synchronization

Supabase Cloud Infrastructure

Managed PostgreSQL with Row Level Security (RLS), GoTrue identity authentication, and Realtime WebSocket replication for multi-device data synchronization.

PostgreSQL 15 · Row Level Security (RLS) · Supabase RealtimeDocs
OS IntegrationLock-Screen Media Integration

MediaSession API (W3C)

Native operating system media controls on iOS, Android, and macOS allowing play, pause, seek, and artwork display on lock screens and watch complications.

W3C MediaSession standard · Artwork metadata · Background audio
In PlanningHigh-Concurrency API Gateway

Planned: Dedicated Go / Rust Backend

High-throughput dedicated microservice backend powering native iOS, Android, and macOS apps with gRPC, HTTP/3, and sub-millisecond prayer caches.

Go / Rust · gRPC & OpenAPI 3.1 · TimescaleDB & Redis Cluster
AI PipelineAI Quran Memorization (Hifdh)

Planned: Whisper v3 Speech Cluster

GPU speech recognition worker nodes running ONNX-optimized Whisper models for real-time Arabic recitation evaluation with zero voice recording storage.

OpenAI Whisper v3 / Vosk · ONNX GPU runtime · Zero voice retention
CryptographyEnd-to-End Cryptography

Planned: Zero-Knowledge Encryption

Client-side AES-256-GCM encryption with PBKDF2 key derivation. Your personal spiritual logs, duas, and notes are encrypted before leaving your device.

Web Crypto API · AES-256-GCM · PBKDF2 600,000 iterations

Planned Dedicated Backend Architecture (Go / Rust)

Technical specification for scaling Dhikrly across native mobile apps and heavy AI inference.

1. High-Performance API Gateway

Written in Go or Rust with gRPC and HTTP/3. Eliminates cold-start serverless overhead, manages connection pools, and routes requests to specialized workers.

2. Whisper AI GPU Speech Cluster

Dedicated inference pods running ONNX-optimized Whisper v3 models. Audio streams are analyzed in real-time for Quran memorization (Hifdh) and destroyed immediately without storage.

3. Realtime WebSockets & Presence

Lightweight WebSocket cluster for Family & Halāqah Khatmah circles, allowing real-time shared reading progress and communal Ramadan milestones.

Have an API suggestion or security feedback?

We welcome contributions and corrections from the community.

View Pro Roadmap
AdhkārṢalāhQur’anTasbīḥ