Skip to content

SiteQ8/daily-ayah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“– ุขูŠุฉ ุงู„ูŠูˆู… | Daily Ayah

Live Demo Ayahs Surahs Uthmani Translation Bilingual License

The complete Holy Quran โ€” 114 Surahs, 6,236 Ayahs โ€” in a beautiful, responsive daily ayah web app with authenticated Arabic text (Uthmani script) and verified English translation (Sahih International).

๐Ÿ”— Live Demo: https://siteq8.github.io/daily-ayah


๐Ÿ“‹ Quran Text Sources & Validation

All Quran text in this app is sourced from authenticated, trusted origins. The Arabic text is never manually typed โ€” it is fetched from validated API sources.

Component Source Validation
Arabic Text Uthmani Script (ุฎุท ุนุซู…ุงู†ูŠ) King Fahd Complex for Printing the Holy Quran, Madinah
English Translation Sahih International Authenticated translation reviewed by qualified scholars
Data API AlQuran Cloud API Open-source Quran API serving the Uthmani edition
Surah Metadata 114 surahs, ayah counts, revelation types Verified against King Fahd Mushaf (total: 6,236 ayahs)
Duas Quran & Sahih Hadith collections With source reference (surah/hadith citation)

The app includes a runtime assertion that validates the total ayah count across all 114 surahs equals exactly 6,236 โ€” the authenticated count of the Holy Quran.


โœจ Features

v2.0 (Current)

  • ๐Ÿ“– Complete Quran โ€” All 114 surahs, all 6,236 ayahs accessible
  • ๐Ÿ•Œ Daily Ayah โ€” Deterministic daily ayah cycling through the entire Quran (one new ayah per day)
  • ๐Ÿ“š Surah Browser โ€” Browse all 114 surahs with search, view complete surah text
  • ๐Ÿ”ค Uthmani Script โ€” Authentic Arabic text using Amiri Quran font
  • ๐ŸŒ Sahih International โ€” Verified English translation
  • ๐ŸŒ™ Dark Mode โ€” Toggle with localStorage persistence
  • ๐Ÿ”€ Random Ayah โ€” Load any random ayah from the entire Quran
  • ๐Ÿ“‹ Copy & Share โ€” Copy ayah text or use Web Share API
  • ๐Ÿ’ก Daily Dua โ€” Authentic supplications from Quran & Hadith with source citations
  • ๐Ÿ“ฑ Fully Responsive โ€” Desktop, tablet, mobile optimized
  • โšก Zero Dependencies โ€” Pure HTML/CSS/JS (API for Quran text)
  • โ„น๏ธ Source Attribution โ€” Full sources tab with links to Quran.com, AlQuran.cloud, Tanzil.net, QuranEnc.com

๐Ÿš€ Quick Start

GitHub Pages (Recommended)

  1. Fork this repository
  2. Go to Settings โ†’ Pages
  3. Select source: main branch and /docs folder
  4. Your site publishes at https://[username].github.io/daily-ayah/

Local

git clone https://github.com/SiteQ8/daily-ayah.git
cd daily-ayah
open docs/index.html

Note: The app requires internet connection to fetch Quran text from the AlQuran Cloud API. Surah metadata (names, ayah counts) is embedded for offline browsing.


๐Ÿ—๏ธ Architecture

daily-ayah/
โ”œโ”€โ”€ docs/
โ”‚   โ””โ”€โ”€ index.html        # Complete app (HTML + CSS + JS)
โ”œโ”€โ”€ README.md              # This file
โ”œโ”€โ”€ LICENSE                # MIT License
โ””โ”€โ”€ SECURITY.md            # Security policy

How It Works

  1. Daily Ayah: Calculates a deterministic index from today's date, maps it to one of 6,236 ayahs, fetches from API
  2. Surah Browser: Renders 114 surah cards from embedded metadata, fetches full surah text on demand
  3. API Source: api.alquran.cloud/v1 โ€” fetches quran-uthmani (Arabic) + en.sahih (English) editions
  4. Validation: Console assertion verifies total ayah count = 6,236 on every page load

๐Ÿ“š Quran API Details

The app uses the AlQuran Cloud API:

Endpoint Purpose
/v1/ayah/{surah}:{ayah}/editions/quran-uthmani,en.sahih Fetch single ayah (Arabic + English)
/v1/surah/{number}/editions/quran-uthmani,en.sahih Fetch complete surah

The quran-uthmani edition provides the text as printed in the King Fahd Complex Mushaf.


๐Ÿค Contributing

Contributions welcome โ€” especially:

  • ๐ŸŒ Additional translations (Urdu, French, Turkish, Malay, etc.)
  • โ™ฟ Accessibility improvements
  • ๐ŸŽจ Additional themes
  • ๐Ÿ”Š Audio recitation integration
  • ๐Ÿ“– Tafsir (exegesis) overlay

๐Ÿ“„ License

MIT License โ€” see LICENSE for details.


ุจูุณู’ู…ู ูฑู„ู„ูŽู‘ู‡ู ูฑู„ุฑูŽู‘ุญู’ู…ูŽูฐู†ู ูฑู„ุฑูŽู‘ุญููŠู…ู
Built by @SiteQ8 โ€” Ali AlEnezi ๐Ÿ‡ฐ๐Ÿ‡ผ
"ุฅูู†ูŽู‘ ู…ูŽุนูŽ ุงู„ู’ุนูุณู’ุฑู ูŠูุณู’ุฑู‹ุง" โ€” ุงู„ุดุฑุญ 94:5

About

๐Ÿ“– ุขูŠุฉ ุงู„ูŠูˆู… | Daily Ayah โ€” Complete Holy Quran (114 Surahs, 6236 Ayahs) | Uthmani Script (King Fahd Mushaf) | Sahih International Translation | Surah Browser | Dark Mode | Bilingual AR/EN

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors