How recite-quran/natlu works
Natlu is a Flutter Quran recitation and study application. The documented core workflow is recitation through an on-device ASR and acoustic Tajweed pipeline, with feedback displayed on a vector Mushaf; users can also join Maglis study circles. The supplied tree omits the Dart application and package sources, so those documented subsystems have null paths. Relationships among them follow the README; sampled native, web, and relay files support only the implementation links shown.
Main entry points: sherpa_official_app.js Web recitation app · MainActivity.kt Flutter app · MaglisCallService.kt Android call service · qvp_flutter.c Native vector engine
Components 19
Recitation App
- Flutter app
android/app/src/main/kotlin/com/recitequran/app/MainActivity.kt - Mushaf interface
- Recitation feedback
Quran Engine
- Speech recognition
- Audio processing
- Phoneme alignment
- Tajweed analysis
- Quran search
- Native vector engine
packages/qvp_flutter/ios/qvp_flutter/Sources/qvp_flutter/qvp_flutter.c
Maglis Circles
- P2P study engine
- Relay signaling
maglis_relay/src/index.js
Platform Integrations
- Android call service
android/app/src/main/kotlin/com/recitequran/app/MaglisCallService.kt
Web Runtime
- Web speech engine
web/js/sherpa-onnx-asr.js - Web vector Mushaf
web/js/qvp.js - Model delivery
web/cloudflare/functions/download-model.js - Web recitation app
web/js/sherpa_official_app.js - QVP API route
web/cloudflare/functions/api/qvp.js
Other components
- Quran reader
- Web user
Connections 20
- Quran reader → Flutter app: opens
- Flutter app → Speech recognition: runs recognition
- Speech recognition → Audio processing: processes audio
- Audio processing → Phoneme alignment: supplies audio
- Phoneme alignment → Tajweed analysis: checks phonemes
- Tajweed analysis → Recitation feedback: reports findings
- Recitation feedback → Mushaf interface: highlights words
- Mushaf interface → Native vector engine: renders pages
- Speech recognition → Quran search: searches text
- Quran reader → Web user: uses web app
- Web user → Web recitation app: recites
- Web recitation app → Web speech engine: runs recognition
- Web recitation app → Web vector Mushaf: renders pages
- Web recitation app → Model delivery: downloads model
- Web recitation app → QVP API route: requests QVP
- Quran reader → P2P study engine: joins circle
- P2P study engine → Relay signaling: signals peers
- P2P study engine → Flutter app: syncs Mushaf
- P2P study engine → Android call service: supports voice call
- Flutter app → Android call service: handles service channel
android/app/src/main/kotlin/com/recitequran/app/MainActivity.kt