How tmrbe2006/quran-karim works
This is a browser-based Quran and Islamic-practice app. The main workflow is selecting a surah and reciter, loading ayahs (with offline fallback), and listening; the app also supports memorization, bookmarks and favorites, reading statistics, and khatma tracking. Separate areas provide adhkar and reminders, prayer times, and a Qibla compass, alongside settings and offline/PWA features. Several component connections are visible in the source index, but unsampled implementations and external service wiring are not verified, so those relationships are omitted or marked unverified.
Main entry points: App.tsx App Orchestrator · Sidebar.tsx Navigation · StatsViewer.tsx Reading Statistics · notificationService.ts Adhkar Reminders
Components 26
Quran Reading
- Quran Viewer
components/QuranViewer.tsx - Quran Data Access
utils/quranData.ts - Offline Ayahs
data/offlineSurahs.ts - Audio Cache
utils/audioStorage.ts - Reciter Storage
components/ReciterStorageManager.tsx - Ayah of the Day
components/AyahOfDayModal.tsx - Reading Controls
components/Controls.tsx
Study Progress
- Bookmarks
components/BookmarksViewer.tsx - Favorites
components/FavoritesViewer.tsx - Reading Statistics
components/StatsViewer.tsx - Statistics Storage
utils/statsStorage.ts - Khatma Tracker
components/KhatmaTracker.tsx - Khatma Plan Storage
utils/khatmaStorage.ts
Daily Practice
- Adhkar Viewer
components/AdhkarViewer.tsx - Adhkar Content
data/adhkar.ts - Adhkar Reminders
utils/notificationService.ts - Prayer Times
components/PrayerTimesViewer.tsx - Prayer Settings
utils/prayerStorage.ts - Qibla Compass
components/QiblaCompass.tsx
App Platform
- App Orchestrator
App.tsx - Navigation
components/Sidebar.tsx - Settings
components/SettingsModal.tsx - Connectivity Status
components/OfflineIndicator.tsx - PWA Install
components/PWAInstallButton.tsx
Other components
- Reader
- Browser Notifications
Connections 29
- Reader → App Orchestrator: uses
- App Orchestrator → Quran Viewer: renders
App.tsx - App Orchestrator → Navigation: renders
App.tsx - App Orchestrator → Settings: renders
App.tsx - App Orchestrator → Reading Controls: renders
App.tsx - App Orchestrator → Adhkar Viewer: renders
App.tsx - App Orchestrator → Qibla Compass: renders
App.tsx - App Orchestrator → Connectivity Status: renders
App.tsx - App Orchestrator → PWA Install: renders
App.tsx - App Orchestrator → Bookmarks: renders
App.tsx - App Orchestrator → Favorites: renders
App.tsx - App Orchestrator → Ayah of the Day: renders
App.tsx - App Orchestrator → Prayer Times: renders
App.tsx - App Orchestrator → Quran Data Access: loads ayahs
App.tsx - Quran Data Access → Offline Ayahs: reads fallback
utils/quranData.ts - App Orchestrator → Audio Cache: caches audio
App.tsx - Quran Viewer → Audio Cache: uses audio cache
components/QuranViewer.tsx - Navigation → Reciter Storage: renders
components/Sidebar.tsx - Reciter Storage → Audio Cache: manages cache
components/ReciterStorageManager.tsx - Adhkar Viewer → Adhkar Content: reads content
components/AdhkarViewer.tsx - App Orchestrator → Adhkar Reminders: checks reminders
App.tsx - Settings → Adhkar Reminders: configures
components/SettingsModal.tsx - Adhkar Reminders → Browser Notifications: sends alerts
utils/notificationService.ts - Prayer Times → Prayer Settings: loads settings
components/PrayerTimesViewer.tsx - Navigation → Reading Statistics: renders
components/Sidebar.tsx - Navigation → Khatma Tracker: renders
components/Sidebar.tsx - Reading Statistics → Statistics Storage: reads statistics
components/StatsViewer.tsx - Reading Statistics → Khatma Plan Storage: reads progress
components/StatsViewer.tsx - Khatma Tracker → Khatma Plan Storage: loads plan
components/KhatmaTracker.tsx