How zaidprogrammer334/tawbeh_public works
This repository is an Arabic Islamic-content website with a separate Express hadith API. A visitor selects a devotional or learning feature and uses its page-specific browser logic; the API separately serves and refreshes hadith collections. Sampled source supports the prayer, Quran, hadith, repentance, and content experiences, but the README is empty and some scripts and page wiring were not sampled, so uncertain connections are omitted.
Main entry points: quran.js Quran reader · server.js Hadith API · update-hadiths.js Hadith refresh · salah.js Prayer times
Components 20
Website entry
- Home page
index.html - Site controls
Script/index.js
Worship tools
- Daily adhkar
Script/adhkar.js - Prayer times
Script/salah.js - Tasbih counter
Script/tasbih.js
Learning content
- Quran reader
Script/quran.js - Recitation audio
audio/maher - Tafsir data
data/tafsir.json - Names of Allah
Script/asma.js - Prophetic stories
Script/stories.js - Islamic figures
Script/islamic_figures.js - Repentance guide
Script/tawbah.js
Hadith service
- Hadith browser
Script/hadith.js - Hadith API
server.js - Hadith records
hadiths.json - Hadith refresh
update-hadiths.js
Other components
- Visitor
- Quran services
- Location and prayer services
- Hadith data source
Connections 18
- Visitor → Home page: opens
- Visitor → Daily adhkar: uses
- Visitor → Prayer times: uses
- Visitor → Tasbih counter: uses
- Visitor → Quran reader: uses
- Visitor → Names of Allah: uses
- Visitor → Prophetic stories: reads
- Visitor → Islamic figures: reads
- Visitor → Repentance guide: uses
- Visitor → Hadith browser: browses
- Visitor → Hadith API: requests
- Quran reader → Quran services: fetches text and tafsir
- Quran reader → Recitation audio: plays audio
- Prayer times → Location and prayer services: gets location and times
- Hadith API → Hadith records: loads records
- Hadith API → Hadith refresh: invokes refresh
- Hadith refresh → Hadith data source: downloads collections
- Hadith refresh → Hadith records: updates records