{"id":26399539,"url":"https://github.com/samiulahmedjoy/hadith","last_synced_at":"2026-05-17T20:04:10.951Z","repository":{"id":269547893,"uuid":"906260684","full_name":"samiulahmedjoy/hadith","owner":"samiulahmedjoy","description":"Read the hadith from command line","archived":false,"fork":false,"pushed_at":"2025-01-16T12:21:34.000Z","size":5521,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T13:37:06.015Z","etag":null,"topics":["hadith","islam","islamic-works","linux","read","terminal-based"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samiulahmedjoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-20T13:59:46.000Z","updated_at":"2025-01-16T12:21:35.000Z","dependencies_parsed_at":"2025-01-16T13:27:11.128Z","dependency_job_id":"7d07b9c3-bced-4f63-a833-83d1e532e53b","html_url":"https://github.com/samiulahmedjoy/hadith","commit_stats":null,"previous_names":["samiulahmedjoy/hadith"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samiulahmedjoy%2Fhadith","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samiulahmedjoy%2Fhadith/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samiulahmedjoy%2Fhadith/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samiulahmedjoy%2Fhadith/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samiulahmedjoy","download_url":"https://codeload.github.com/samiulahmedjoy/hadith/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244041239,"owners_count":20388207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hadith","islam","islamic-works","linux","read","terminal-based"],"created_at":"2025-03-17T13:30:21.166Z","updated_at":"2026-05-17T20:04:10.858Z","avatar_url":"https://github.com/samiulahmedjoy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hadith\n\n## Read the hadith from command line in a Gnu/Linux Environment\n\nThe `hadith` cli contains the English translations taken from [sunnah.com](https://sunnah.com) of the main 6 books of hadith;\n\n1. Sahih Al-Bukhari (Consists of 97 sections)\n\n2. Sahih Muslim (Consists of 56 sections)\n\n3. Sunan an-Nasai (Consists of 51 sections)\n\n4. Sunan Abu-Dawud (Consists of 43 sections)\n\n5. Jami at-Tirmidhi (Consists of 49 sections)\n\n6. Sunan Ibn Majah (Consists of 37 sections)\n\n## Basic Structure Overview\n\nHere's a basic structure overview of the main-hadith.txt file\n\n```\n    Sahih Al-Bukhari\n    |    \n    |  |------- Book 1 of Sahih Al-Bukhari\n    |    |------ Chapter 1 from Book 1 of Sahih Al-Bukhari\n    |      |------- Hadith 1 from chapter 1\n    |\n    Sahih Muslim\n    |    \n    |  |------- Book 1 of Sahih Muslim\n    |    |------ Chapter 1 from Book 1 of Sahih Muslim\n    |      |------- Hadith 1 from chapter 1\n    |\n    Sunan an-Nasai\n    |    \n    |  |------- Book 1 of Sunan an-Nasai\n    |    |------ Chapter 1 from Book 1 of Sunan an-Nasai\n    |      |------- Hadith 1 from chapter 1\n\n---snip---\n\n```\n\n## Usage\n\n[Tutorial Video](https://youtu.be/xskxN7mNYZI)\n\nThe usage is pretty basic and straightforward;\n\n```\n    Usage\n\n    -l or --list         Print out entire index of hadith's\"\n    -s or --search       Search for a keyword\"\n    -h or --hadith       Prints out specific section of hadith\"\n    -b or --book         Prints out an entire book section\"\n    -H or --Hadith       Print out an entire hadith\"\n    -eg or --example     Print out list of examples\"\n\n```\n\nThe Examples are also pretty straightforward;\n\n```\n    Examples\n\n    hadith -s 'bird'             Will print all the hadiths containing phrase 'bird'\"\n    hadith -h 'bukhari 5'        Will print out Sahih al-Bukhari 4th section\"\n    hadith -b 'bukhari 5'        Will print out the 5th book from Bukhari hadith\"\n    hadith -H 'bukhari'          Will print out the entire Bukhari hadith\"\n\n```\n\n\n## Requirements\n\n* Linux/Gnu Environment, could potentially run on Unix Environments too\n\n* Gnu version of `awk` and `sed`\n\n\n## Installation\n\nIf `$HOME/.local/bin/` is in your `$PATH` variable and `$HOME/.local/share/` exists, then just run `make install` from your terminal. It will install the program for current the user.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamiulahmedjoy%2Fhadith","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamiulahmedjoy%2Fhadith","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamiulahmedjoy%2Fhadith/lists"}