Tip
This project is part of the FadSec Lab suite.
Discover our focus on ad-free, privacy-first applications and stay updated on future releases!
QuranCLI brings the Quran to your Windows command line with a rich set of features designed for readers, listeners, and video creators.
- ๐ Complete Quran Access: Read all 114 Surahs with English translation (Simple & Uthmani Arabic scripts)
- ๐ง Audio Recitations: Stream high-quality audio from renowned reciters with full playback controls
- ๐ฌ Subtitle Generation: Create
.srtsubtitle files (Arabic + English) for video editing workflows - ๐ Built-in Web Server: Share generated subtitle files with devices on the same Wi-Fi network
- ๐พ Offline Mode: Smart caching for Quran text and audio with local storage
- ๐จ Customizable Interface: Colorful, responsive terminal UI with theme customization
- ๐ Auto-Updates: Automatic notifications for new app versions from GitHub
- ๐ Download Statistics: Real-time download counts displayed in the app header
- ๐ฅ๏ธ Cross-Platform: Native support for Windows and Linux operating systems
- โจ๏ธ Command Line Integration: Launch directly from terminal using the
quranclicommand - ๐ Multi-Language Support: Urdu, Turkish, and English translations with transliteration
- ๐ Advanced Bookmarks: Comprehensive bookmark system with notes and quick Ayatul Kursi access
- ๐พ Data Management: Backup and restore capabilities for settings and data
- ๐งฉ Linux-Style Commands: Short commands like
lsfor efficient navigation - ๐ต Focused Audio Player: Dedicated Ayatul Kursi audio player for spiritual listening
- ๐ Audio Loop Mode: Continuous playback feature for extended listening sessions
- โฐ Sleep Timer: Auto-stop functionality after specified time duration
- ๐ Bulk Reading:
allcommand for opening complete Surahs from any starting point - ๐ฅ Audio Manager: Comprehensive audio management system with
download,clear, andpathcommands - โ๏ธ Translation Settings: Toggle Urdu, English, and Turkish translations in reader mode
- ๐ Smart Notifications: Toast messages for download completion and error handling
- ๐๏ธ Organized Settings: Categorized configuration commands in dedicated settings screen
QuranCLI-theme-command-demo.mp4
Theme command in use
- Go to the Releases Page.
- Download the latest
QuranCLI-Setup.exefile. - Run the installer and follow the on-screen instructions.
- Launch QuranCLI from your Start Menu or Desktop shortcut.
Tip: You can also run the tool directly from the terminal by typingqurancli.
- Go to the Releases Page.
- Download the latest
.debpackage, for example:qurancli_1.1.0_amd64.deb. - Open a terminal and navigate to the download directory.
- Install the package with:
sudo dpkg -i qurancli_1.1.0_amd64.deb
- If any dependency errors appear, run:
sudo apt-get install -f
- Once installed, launch QuranCLI directly by typing:
qurancli
๐ง Dev Only: Build from Source
- Prerequisites: Python 3.9+ and pip.
- Clone:
git clone https://github.com/anonfaded/QuranCLI.git cd QuranCLI - Install Dependencies: (Using a virtual environment is recommended)
# Optional: Create and activate venv # python -m venv venv # .\venv\Scripts\activate (Windows) or source venv/bin/activate (Linux/macOS) pip install -r requirements.txt
- Run:
python Quran-CLI.py
๐ง Dev Only: Step-by-Step on building the .deb package for Linux
-
Copy Codebase from /mnt/c/ (WSL only)
Due to the WSL/mnt/c/structure, copy the whole codebase to the root to match the filesystem as linux would expect:cp -r /mnt/c/Users/username/Desktop/QuranCLI /
-
Create the Executable:
Run PyInstaller (WSL) in the project's directory:pyinstaller QuranCLI.spec
-
Convert Line Endings:
Convert the Debian maintainer scripts to Unix format:dos2unix debian/postinst debian/prerm debian/postrm
-
Verify Executable Permissions:
Ensure the generated executable has the correct executable permissions:ls -l dist/QuranCLI
The permissions should show an
x(executable) flag. -
Build the Debian Package:
Run the Debian build command in the copied codebase directory (the .deb package will be placed one level up):dpkg-buildpackage -us -uc -b
- Launch: Start QuranCLI (via Installer or
python Quran-CLI.py). - Select Surah: Enter the Surah number (1-114) or type part of its name (e.g.,
rahman). - Select Ayahs: Enter the starting and ending Ayah numbers.
- Read: View Arabic text and English translation. Use
n/pto navigate pages. - Listen: Type
ato open the Audio Player. Use keys likep(play/pause),s(stop),r(change reciter),[/](seek 5s),j/k(seek 30s). Pressqto return. - Subtitles & Share:
- Type
subin the main menu. - Select Surah and the Ayah range you want subtitles for.
- The
.srtfile is saved inDocuments\QuranCLI Subtitles. - A local web server starts automatically. You'll see a URL like
http://<Your-IP>:8000. - Open this URL on other devices on the same Wi-Fi to browse and download the subtitle files for that Surah.
- Use the
opencommand in the subtitle menu to view the folder on your PC, orbackto return to the main menu (this also stops the server).
- Type
- Help: Type
infoin the main menu for detailed commands and credits. - Quit: Type
quitorexitin the main menu.
(Note: Use the reverse command in the reader if Arabic text appears incorrectly displayed on your specific terminal.)
- New Reciters: Additional reciter options.
- Tafsir Integration: In-depth explanations for each ayah.
- I'm-Feeling Feature: A mood-based recommendation system that suggests ayahs based on the user's current feelings.
-
Bugs & Feature Requests: Found an issue or have an idea? Please Open an Issue.
-
Pull Requests: Contributions are welcome!
-
Quran Data & Audio API: Provided by The Quran Project. An API for the Holy Quran with no rate limit.
-
Databases used: https://gist.github.com/raz0229/ad8cb85f6a92c08f7acf50d245524a5f, https://github.com/saikothasan/quran-cloud
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.










