Last active
April 20, 2024 07:06
-
-
Save mr-islam/f1094122b79ebc4bcd0ec64aa4f5c3b4 to your computer and use it in GitHub Desktop.
Array list of objects with all surahs names in the Quran, along with page in the Green Madina Mushaf. Used in [Qawl](https://github.com/mr-islam/qawl), the desktop Quran reader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var surahs = [ | |
{ | |
"name": "al-Fātihah", | |
"pageGreen": 1 | |
}, | |
{ | |
"name": "al-Baqarah", | |
"pageGreen": 2 | |
}, | |
{ | |
"name": "Āl-ʿImrān", | |
"pageGreen": 50 | |
}, | |
{ | |
"name": "an-Nisāʾ", | |
"pageGreen": 77 | |
}, | |
{ | |
"name": "al-Māʾidah", | |
"pageGreen": 106 | |
}, | |
{ | |
"name": "al-Anʿām", | |
"pageGreen": 128 | |
}, | |
{ | |
"name": "al-Aʿrāf", | |
"pageGreen": 151 | |
}, | |
{ | |
"name": "al-Anfāl", | |
"pageGreen": 177 | |
}, | |
{ | |
"name": "at-Taubah", | |
"pageGreen": 187 | |
}, | |
{ | |
"name": "Yūnus", | |
"pageGreen": 208 | |
}, | |
{ | |
"name": "Hūd", | |
"pageGreen": 221 | |
}, | |
{ | |
"name": "Yūsuf", | |
"pageGreen": 235 | |
}, | |
{ | |
"name": "ar-Raʿd", | |
"pageGreen": 249 | |
}, | |
{ | |
"name": "Ibrāhīm", | |
"pageGreen": 255 | |
}, | |
{ | |
"name": "al-Ḥijr", | |
"pageGreen": 262 | |
}, | |
{ | |
"name": "an-Naḥl", | |
"pageGreen": 267 | |
}, | |
{ | |
"name": "al-Isrāʾ", | |
"pageGreen": 282 | |
}, | |
{ | |
"name": "al-Kahf", | |
"pageGreen": 293 | |
}, | |
{ | |
"name": "Maryam", | |
"pageGreen": 305 | |
}, | |
{ | |
"name": "Ṭā-Hā", | |
"pageGreen": 312 | |
}, | |
{ | |
"name": "al-Anbiyāʾ", | |
"pageGreen": 322 | |
}, | |
{ | |
"name": "al-Ḥajj", | |
"pageGreen": 332 | |
}, | |
{ | |
"name": "al-Muʾminūn", | |
"pageGreen": 342 | |
}, | |
{ | |
"name": "an-Nūr", | |
"pageGreen": 350 | |
}, | |
{ | |
"name": "al-Furqān", | |
"pageGreen": 359 | |
}, | |
{ | |
"name": "ash-Shuʿarā", | |
"pageGreen": 367 | |
}, | |
{ | |
"name": "an-Naml", | |
"pageGreen": 377 | |
}, | |
{ | |
"name": "al-Qaṣaṣ", | |
"pageGreen": 385 | |
}, | |
{ | |
"name": "al-ʿAnkabūt", | |
"pageGreen": 396 | |
}, | |
{ | |
"name": "ar-Rūm", | |
"pageGreen": 404 | |
}, | |
{ | |
"name": "Luqmān", | |
"pageGreen": 411 | |
}, | |
{ | |
"name": "as-Sajdah", | |
"pageGreen": 415 | |
}, | |
{ | |
"name": "al-Aḥzāb", | |
"pageGreen": 418 | |
}, | |
{ | |
"name": "Sabaʾ", | |
"pageGreen": 428 | |
}, | |
{ | |
"name": "Fāṭir", | |
"pageGreen": 434 | |
}, | |
{ | |
"name": "Yā-Sīn", | |
"pageGreen": 440 | |
}, | |
{ | |
"name": "as-Ṣāffāt", | |
"pageGreen": 446 | |
}, | |
{ | |
"name": "Ṣād", | |
"pageGreen": 453 | |
}, | |
{ | |
"name": "az-Zumar", | |
"pageGreen": 458 | |
}, | |
{ | |
"name": "Ghāfir", | |
"pageGreen": 467 | |
}, | |
{ | |
"name": "Fuṣṣilat", | |
"pageGreen": 477 | |
}, | |
{ | |
"name": "ash-Shūrā", | |
"pageGreen": 483 | |
}, | |
{ | |
"name": "az-Zukhruf", | |
"pageGreen": 489 | |
}, | |
{ | |
"name": "ad-Dukhān", | |
"pageGreen": 496 | |
}, | |
{ | |
"name": "al-Jāthiyah", | |
"pageGreen": 499 | |
}, | |
{ | |
"name": "al-Aḥqāf", | |
"pageGreen": 502 | |
}, | |
{ | |
"name": "Muḥammad", | |
"pageGreen": 507 | |
}, | |
{ | |
"name": "al-Fatḥ", | |
"pageGreen": 511 | |
}, | |
{ | |
"name": "al-Ḥujurāt", | |
"pageGreen": 515 | |
}, | |
{ | |
"name": "Qāf", | |
"pageGreen": 518 | |
}, | |
{ | |
"name": "adh-Dhāriyāt", | |
"pageGreen": 520 | |
}, | |
{ | |
"name": "at-Ṭūr", | |
"pageGreen": 523 | |
}, | |
{ | |
"name": "an-Najm", | |
"pageGreen": 526 | |
}, | |
{ | |
"name": "al-Qamar", | |
"pageGreen": 528 | |
}, | |
{ | |
"name": "ar-Raḥmān", | |
"pageGreen": 531 | |
}, | |
{ | |
"name": "al-Wāqiʿah", | |
"pageGreen": 534 | |
}, | |
{ | |
"name": "al-Ḥadīd", | |
"pageGreen": 537 | |
}, | |
{ | |
"name": "al-Mujādilah", | |
"pageGreen": 542 | |
}, | |
{ | |
"name": "al-Ḥashr", | |
"pageGreen": 545 | |
}, | |
{ | |
"name": "al-Mumtaḥanah", | |
"pageGreen": 549 | |
}, | |
{ | |
"name": "as-Ṣaff", | |
"pageGreen": 551 | |
}, | |
{ | |
"name": "al-Jumuʿah", | |
"pageGreen": 553 | |
}, | |
{ | |
"name": "al-Munāfiqūn", | |
"pageGreen": 554 | |
}, | |
{ | |
"name": "at-Taghābun", | |
"pageGreen": 556 | |
}, | |
{ | |
"name": "at-Ṭalāq", | |
"pageGreen": 558 | |
}, | |
{ | |
"name": "at-Taḥrīm", | |
"pageGreen": 560 | |
}, | |
{ | |
"name": "al-Mulk", | |
"pageGreen": 562 | |
}, | |
{ | |
"name": "al-Qalam", | |
"pageGreen": 564 | |
}, | |
{ | |
"name": "al-Ḥāqqah", | |
"pageGreen": 566 | |
}, | |
{ | |
"name": "al-Maʿārij", | |
"pageGreen": 568 | |
}, | |
{ | |
"name": "Nūḥ", | |
"pageGreen": 570 | |
}, | |
{ | |
"name": "al-Jinn", | |
"pageGreen": 572 | |
}, | |
{ | |
"name": "al-Muzzammil", | |
"pageGreen": 574 | |
}, | |
{ | |
"name": "al-Muddaththir", | |
"pageGreen": 575 | |
}, | |
{ | |
"name": "al-Qiyāmah", | |
"pageGreen": 577 | |
}, | |
{ | |
"name": "al-Insān", | |
"pageGreen": 578 | |
}, | |
{ | |
"name": "al-Mursalāt", | |
"pageGreen": 580 | |
}, | |
{ | |
"name": "an-Nabaʾ", | |
"pageGreen": 582 | |
}, | |
{ | |
"name": "an-Nāziʿāt", | |
"pageGreen": 583 | |
}, | |
{ | |
"name": "ʿAbasa", | |
"pageGreen": 585 | |
}, | |
{ | |
"name": "at-Takwīr", | |
"pageGreen": 586 | |
}, | |
{ | |
"name": "al-Infiṭār", | |
"pageGreen": 587 | |
}, | |
{ | |
"name": "al-Muṭaffifīn", | |
"pageGreen": 587 | |
}, | |
{ | |
"name": "al-Inshiqāq", | |
"pageGreen": 589 | |
}, | |
{ | |
"name": "al-Burūj", | |
"pageGreen": 590 | |
}, | |
{ | |
"name": "at-Ṭāriq", | |
"pageGreen": 591 | |
}, | |
{ | |
"name": "al-Aʿlā", | |
"pageGreen": 591 | |
}, | |
{ | |
"name": "al-Ghāshiyah", | |
"pageGreen": 592 | |
}, | |
{ | |
"name": "al-Fajr", | |
"pageGreen": 593 | |
}, | |
{ | |
"name": "al-Balad", | |
"pageGreen": 594 | |
}, | |
{ | |
"name": "ash-Shams", | |
"pageGreen": 595 | |
}, | |
{ | |
"name": "al-Layl", | |
"pageGreen": 595 | |
}, | |
{ | |
"name": "ad-Ḍuḥā", | |
"pageGreen": 596 | |
}, | |
{ | |
"name": "ash-Sharḥ", | |
"pageGreen": 596 | |
}, | |
{ | |
"name": "at-Tīn", | |
"pageGreen": 597 | |
}, | |
{ | |
"name": "al-ʿAlaq", | |
"pageGreen": 597 | |
}, | |
{ | |
"name": "al-Qadr", | |
"pageGreen": 598 | |
}, | |
{ | |
"name": "al-Bayyinah", | |
"pageGreen": 598 | |
}, | |
{ | |
"name": "az-Zalzalah", | |
"pageGreen": 599 | |
}, | |
{ | |
"name": "al-ʿĀdiyāt", | |
"pageGreen": 599 | |
}, | |
{ | |
"name": "al-Qāriʿah", | |
"pageGreen": 600 | |
}, | |
{ | |
"name": "at-Takāthur", | |
"pageGreen": 600 | |
}, | |
{ | |
"name": "al-ʿAsr", | |
"pageGreen": 601 | |
}, | |
{ | |
"name": "al-Humazah", | |
"pageGreen": 601 | |
}, | |
{ | |
"name": "al-Fīl", | |
"pageGreen": 601 | |
}, | |
{ | |
"name": "Quraysh", | |
"pageGreen": 602 | |
}, | |
{ | |
"name": "al-Māʿūn", | |
"pageGreen": 602 | |
}, | |
{ | |
"name": "al-Kawthar", | |
"pageGreen": 602 | |
}, | |
{ | |
"name": "al-Kāfirūn", | |
"pageGreen": 603 | |
}, | |
{ | |
"name": "an-Naṣr", | |
"pageGreen": 603 | |
}, | |
{ | |
"name": "al-Masad", | |
"pageGreen": 603 | |
}, | |
{ | |
"name": "al-Ikhlāṣ", | |
"pageGreen": 604 | |
}, | |
{ | |
"name": "al-Falaq", | |
"pageGreen": 604 | |
}, | |
{ | |
"name": "an-Nās", | |
"pageGreen": 604 | |
} | |
] |
jazakallah khair! i minified it, turned it into an array and removed non-ascii characters:
const surahs = ["al-Fatihah","al-Baqarah","Al-'Imran","an-Nisa'","al-Ma'idah","al-An'am","al-A'raf","al-Anfal","at-Taubah","Yunus","Hud","Yusuf","ar-Ra'd","Ibrahim","al-Hijr","an-Nahl","al-Isra'","al-Kahf","Maryam","Ta-Ha","al-Anbiya'","al-Hajj","al-Mu'minun","an-Nur","al-Furqan","ash-Shu'ara","an-Naml","al-Qasas","al-'Ankabut","ar-Rum","Luqman","as-Sajdah","al-Ahzab","Saba'","Fatir","Ya-Sin","as-Saffat","Sad","az-Zumar","Ghafir","Fussilat","ash-Shura","az-Zukhruf","ad-Dukhan","al-Jathiyah","al-Ahqaf","Muhammad","al-Fath","al-Hujurat","Qaf","adh-Dhariyat","at-Tur","an-Najm","al-Qamar","ar-Rahman","al-Waqi'ah","al-Hadid","al-Mujadilah","al-Hashr","al-Mumtahanah","as-Saff","al-Jumu'ah","al-Munafiqun","at-Taghabun","at-Talaq","at-Tahrim","al-Mulk","al-Qalam","al-Haqqah","al-Ma'arij","Nuh","al-Jinn","al-Muzzammil","al-Muddaththir","al-Qiyamah","al-Insan","al-Mursalat","an-Naba'","an-Nazi'at","'Abasa","at-Takwir","al-Infitar","al-Mutaffifin","al-Inshiqaq","al-Buruj","at-Tariq","al-A'la","al-Ghashiyah","al-Fajr","al-Balad","ash-Shams","al-Layl","ad-Duha","ash-Sharh","at-Tin","al-'Alaq","al-Qadr","al-Bayyinah","az-Zalzalah","al-'Adiyat","al-Qari'ah","at-Takathur","al-'Asr","al-Humazah","al-Fil","Quraysh","al-Ma'un","al-Kawthar","al-Kafirun","an-Nasr","al-Masad","al-Ikhlas","al-Falaq","an-Nas"];
surah numbers with corresponding juz:
const juz = [[1,2],[],[3],[4],[],[5],[6],[7],[8],[9],[10,11],[12],[13,14],[15,16],[17,18],[19,20],[21,22],[23,24,25],[26,27],[28,29],[30,31,32,33],[34,35,36],[37,38,39],[40,41],[42,43,44,45],[46,47,48,49,50,51],[52,53,54,55,56,57,],[58,59,60,61,62,63,64,65,66],[67,68,69,70,71,72,73,74,75,76,77],[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114]]
vim macros a lifesaver
Wa iyyakyum @ahsan-a 🌹, thank you for sharing!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wa iyyakum :)