Faqieh for your terminal
Faqieh, one command away.
Search lessons, explore scholars, and download transcripts from your terminal. Use Faqieh on its own or in your scripts.
Install once. Start searching.
Use your package manager, or download a binary for macOS, Windows, or Linux.
Windows
Scoop
PowerShell · Scoop
scoop bucket add ieasybooks https://github.com/ieasybooks/scoop-bucket
scoop install ieasybooks/faqieh
Prefer a standalone binary?
Download a standalone binary for your operating system and processor. No language runtime is needed.
- macOS
Rename the downloaded file to faqieh (faqieh.exe on Windows) and place it in a folder on your PATH. On macOS and Linux, run this command in that folder.
macOS / Linux · Make the binary executable
chmod +x faqieh
Open a new terminal after installation, then check that Faqieh is ready.
Check your installation
faqieh --version
Put the library to work
Find a passage
Search recording titles and transcript passages in Arabic, and read the results as a table.
Find a passage
faqieh search 'الصلاة' --types media,transcripts --table
Explore a scholar’s lessons
List scholars, then explore their recordings. Replace 42 with a scholar ID from the first command.
Explore a scholar’s lessons
faqieh list-speakers --table
faqieh list-media --speaker-id 42 --table
Read a full transcript
Read every segment of an Arabic transcript. Replace 123 with a recording ID from your search results.
Read a full transcript
faqieh get-transcript 123 ar --full
Save a transcript file
Save a PDF with Bash or zsh using the command below. Replace 123 with a recording ID. You can also request txt or srt; change the file extension to match.
Bash / zsh
faqieh download-transcript 123 ar pdf -o download > transcript.pdf.part &&
mv transcript.pdf.part transcript.pdf
If a PDF is still being prepared, the command asks you to retry later. The final file is replaced only after a successful download.
Ready for your scripts
- JSON by default
- Commands return one page of JSON. Add
--tablefor readable rows, or use-fwith--filter-lang jqto select exactly the fields you need. - Fetch more pages
- Add
--allto fetch up to 25 pages. Set a different limit with--max-pages N. Reaching the limit returns partial results with a warning.
Extract scholar names with jq
faqieh list-speakers --filter-lang jq -f '.body.data[].name'
Keep exploring
Explore commands with built-in help, or add --help-all for the full API documentation and options.
Command help
faqieh --help
faqieh search --help