quran-cli2
v1.0.0
Published
The Holy Quran for the commandline.
Downloads
6
Maintainers
Readme
:closed_book: quran-cli
Read/Recite The Holy Quran from the commandline with English translation.
Requirements
Installation
- Clone this repository.
git clone https://github.com/sarfraznawaz2005/quran-cli.git
- Type
npm install
- Type
npm link
Usage
List All Chapters
quran chapters
or with alias quran c
Read Specific Chapter
Command format is: read|r <chapter> [verse] [arabic]
where verse
and arabic
arguments are optional.
To read 1st chapter:
quran read 1
or with alias quran r 1
English Only: To read 1st chapter for example, type: quran read 1 0 0
. Here first 0
means no/all verses and second 0
means no Arabic text.
Read Specific Verse from a Chapter
To read 2nd verse from 2nd chapter:
quran read 2 2
or with alias quran r 2 2
English Only: To read 25th verse of chapter 3 for example, type: quran read 3 25 0
. Here 0
means no Arabic text.
Read Specified Range of Verses from a Chapter
To read verses from 1 to 5 from 12th chapter:
quran read 12 1:5
or with alias quran r 12 1:5
Get Information about a Chapter
quran info 12
or with alias quran i 12
Get Help Information
quran --help
Todo
- Publish as npm module.
License
This project is open-sourced software licensed under the MIT license