2023-03-11 15:55:59 +01:00
|
|
|
<p align="left">
|
2023-03-11 16:22:16 +01:00
|
|
|
<strong>About</strong>
|
2023-03-11 15:55:59 +01:00
|
|
|
</p>
|
2022-04-26 14:12:16 +02:00
|
|
|
|
2023-03-11 15:55:59 +01:00
|
|
|
quran-json is a dual purpose project where on the one hand it provides a
|
2023-03-27 05:43:01 +02:00
|
|
|
command-line utility for downloading the content of The Quran in multiple
|
|
|
|
languages, and on the other hand it provides a copy of the content that
|
|
|
|
can be downloaded. The content is provided in the JSON format.
|
2022-12-26 06:42:01 +01:00
|
|
|
|
2023-03-11 15:55:59 +01:00
|
|
|
<p align="left">
|
|
|
|
<strong>share/</strong>
|
|
|
|
</p>
|
2022-04-26 14:12:16 +02:00
|
|
|
|
2023-02-08 20:12:22 +01:00
|
|
|
* [share/quran-json/TheQuran/ar/](share/quran-json/TheQuran/ar/) contains The Quran in its original Arabic.
|
|
|
|
* [share/quran-json/TheQuran/en/](share/quran-json/TheQuran/en/) contains an English translation of The Quran.
|
|
|
|
* [share/quran-json/TheQuran/fa/](share/quran-json/TheQuran/fa/) contains a Farsi translation of The Quran.
|
|
|
|
* [share/quran-json/TheQuran/pt/](share/quran-json/TheQuran/pt/) contains a Portuguese translation of The Quran.
|
2023-02-09 16:30:02 +01:00
|
|
|
* [share/quran-json/TheQuran/nl/](share/quran-json/TheQuran/nl/) contains a Dutch translation of The Quran.
|
2023-02-12 17:41:59 +01:00
|
|
|
* [share/quran-json/TheQuran/fr/](share/quran-json/TheQuran/fr/) contains a French translation of The Quran.
|
2023-02-12 17:57:36 +01:00
|
|
|
* [share/quran-json/TheQuran/it/](share/quran-json/TheQuran/it/) contains an Italian translation of The Quran.
|
2022-07-11 23:08:58 +02:00
|
|
|
|
2023-02-08 20:12:22 +01:00
|
|
|
The
|
|
|
|
[share/quran-json/TheQuran](share/quran-json/TheQuran/)
|
|
|
|
directory contains multiple sub-directories, where each sub-directory represents
|
|
|
|
a locale (eg `en` for English, `ar` for Arabic, and so on). Within each sub-directory,
|
|
|
|
there is a JSON file for each surah (also known as a chapter).
|
2022-06-20 18:37:22 +02:00
|
|
|
|
2023-02-08 20:12:22 +01:00
|
|
|
The structure of each JSON file can be described as an array where the first element is
|
|
|
|
an object that contains information about a surah, and the rest of the array contains
|
|
|
|
the content of the surah. The content is composed of two-element arrays - where the first
|
|
|
|
element is the ayah number (also known as a verse number), and the second element is the
|
|
|
|
content of the ayah.
|
2022-06-20 18:37:22 +02:00
|
|
|
|
2023-02-08 20:12:22 +01:00
|
|
|
See [Surah Al-Fatihah (English)](share/quran-json/TheQuran/en/1.json) for an example.
|
2023-02-02 06:54:30 +01:00
|
|
|
|
2023-03-11 15:55:59 +01:00
|
|
|
<p align=left">
|
|
|
|
<strong>bin/</strong>
|
|
|
|
</p>
|
2022-07-11 23:16:07 +02:00
|
|
|
|
2023-02-08 20:12:22 +01:00
|
|
|
The [bin/quran-json](bin/quran-json) executable is a utility for downloading
|
|
|
|
the content of The Quran in multiple languages.
|
2022-07-11 23:26:55 +02:00
|
|
|
|
2023-03-11 15:55:59 +01:00
|
|
|
*Usage*
|
2022-05-28 08:54:34 +02:00
|
|
|
|
2023-02-08 20:12:22 +01:00
|
|
|
Usage: quran-json pull [OPTIONS]
|
2023-03-14 23:13:49 +01:00
|
|
|
-l, --locale LOCALE ar, en, pt, fa, nl, fr, or it (default: en)
|
|
|
|
-r, --replace Replace existing JSON files (default: no)
|
|
|
|
-u, --update Replace surah metadata with an updated copy (implies -r, default: no)
|
|
|
|
|
2022-04-27 01:57:03 +02:00
|
|
|
|
2023-03-11 15:55:59 +01:00
|
|
|
<p align="left">
|
|
|
|
<strong>Thanks</strong>
|
|
|
|
</p>
|
2022-04-26 14:12:16 +02:00
|
|
|
|
2023-02-04 21:26:12 +01:00
|
|
|
First and foremost, Alhamdulillah.
|
2022-04-26 14:12:16 +02:00
|
|
|
|
2023-03-14 23:13:49 +01:00
|
|
|
Thanks to the following websites for providing the downloadable content:
|
2022-05-29 19:27:59 +02:00
|
|
|
|
2023-02-12 17:41:59 +01:00
|
|
|
* https://searchtruth.com for the original Arabic, and the Italian translation.
|
|
|
|
* https://quran.com for the English, Farsi, Portuguese, Dutch, and French translations.
|
2022-05-29 19:27:59 +02:00
|
|
|
|
2023-03-14 23:13:49 +01:00
|
|
|
And sincere thanks to the translators of the content:
|
2023-02-13 05:00:09 +01:00
|
|
|
|
|
|
|
* _Dr. Mustafa Khattab_ for the English translation.
|
|
|
|
* _Hussein Taji Kal Dari_ for the Farsi translation.
|
|
|
|
* _Sofian S. Siregar_ for the Dutch translation.
|
|
|
|
* _Muhammad Hamidullah_ for the French translation.
|
|
|
|
* _Hamza Roberto Piccardo_ for the Italian translation.
|
|
|
|
|
2023-03-11 15:55:59 +01:00
|
|
|
<p align="left">
|
|
|
|
<strong>License</strong>
|
|
|
|
</p>
|
2022-07-19 21:54:10 +02:00
|
|
|
|
2023-03-11 16:22:16 +01:00
|
|
|
The "source code" is released under the [GPL](./LICENSE) license.
|
2023-02-13 05:00:09 +01:00
|
|
|
<br>
|
2023-03-14 23:13:49 +01:00
|
|
|
The content is copyrighted to the translators (listed above).
|