Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data

license standard-readme compliant npm

Data collection engine for EmptyDeen - An Islamic learning app with a modern interface
This repo scrapes and processes Quranic data:

  • Quran text (Arabic + translations)
  • Tafsir (commentary)
  • Audio recitations
  • Phonetic pronunciations with Tajwid

Table of Contents

Quick Start

# 1. Extract the database
unzip data/quran.sqlite.zip -d data/

# 2. Install dependencies
npm install

# 3. Run the script
node index.js

Note: The quran.sqlite database is converted from quran-database to SQLite format.

Output

output/
├── surahs.json          # All Quran data
└── audios/
    ├── 1/               # Surah 1 audios
    │   ├── 1.mp3
    │   ├── 2.mp3
    │   └── ...
    └── ...

surahs.json structure:

{
  "1": {
    "name": "Al-Fatihah",
    "number": 1,
    "surah": {
      "en": ["In the name of Allah..."],
      "fr": ["Au nom d'Allah..."],
      "ar": ["بِسْمِ اللَّهِ..."]
    },
    "tafsir": {
      "en": [["Commentary..."]],
      "fr": [["Commentaire..."]]
    },
    "pronunciation": ["Bismi <HmA>A</HmA>ll<MS2>ā</MS2>hi..."]
  }
}

Data Sources

Contributing

Feel free to open an issue or submit a pull request.

About

Quranic data aggregation: Arabic text, translations, tafsir, pronunciations & audio recitations for EmptyDeen app

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages