{"id":18823749,"url":"https://github.com/abdeltwabmf/next-prayer","last_synced_at":"2025-04-14T01:30:51.888Z","repository":{"id":42632180,"uuid":"404178720","full_name":"AbdeltwabMF/next-prayer","owner":"AbdeltwabMF","description":"Islamic prayer reminder for Unix status bars.","archived":false,"fork":false,"pushed_at":"2023-04-02T00:00:38.000Z","size":2886,"stargazers_count":53,"open_issues_count":8,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T15:47:34.290Z","etag":null,"topics":["bash","cpp","docker","hacktoberfest","hacktoberfest2022","linux","makefile","muslim-prayer-times","prayer-times","prayertimes","python3","salat-timings"],"latest_commit_sha":null,"homepage":"","language":"C","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/AbdeltwabMF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","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":"2021-09-08T01:57:17.000Z","updated_at":"2024-10-30T01:20:30.000Z","dependencies_parsed_at":"2024-08-04T04:02:22.011Z","dependency_job_id":"38b5b38a-1226-47fa-b5ba-4d7b1810e6fd","html_url":"https://github.com/AbdeltwabMF/next-prayer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdeltwabMF%2Fnext-prayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdeltwabMF%2Fnext-prayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdeltwabMF%2Fnext-prayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdeltwabMF%2Fnext-prayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbdeltwabMF","download_url":"https://codeload.github.com/AbdeltwabMF/next-prayer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248807378,"owners_count":21164678,"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":["bash","cpp","docker","hacktoberfest","hacktoberfest2022","linux","makefile","muslim-prayer-times","prayer-times","prayertimes","python3","salat-timings"],"created_at":"2024-11-08T00:54:34.181Z","updated_at":"2025-04-14T01:30:51.850Z","avatar_url":"https://github.com/AbdeltwabMF.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" color=\"Magenta\"\u003eNext Prayer\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e \u003cem\u003eIslamic prayers reminder for Linux status bar\u003c/em\u003e \u003c/h4\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/AbdeltwabMF/next-prayer/graphs/commit-activity\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Maintained%3F-yes-green.svg\" alt=\"maintenance\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/AbdeltwabMF/next-prayer/blob/main/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/AbdeltwabMF/next-prayer?logo=gnu\u0026.svg\" alt=\"license\" /\u003e\n    \u003ca\u003e\n    \u003ca href=\"https://github.com/AbdeltwabMF/next-prayer/releases\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/release/AbdeltwabMF/next-prayer.svg\" alt=\"release\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/AbdeltwabMF/next-prayer/graphs/contributors\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/contributors/AbdeltwabMF/next-prayer.svg\" alt=\"contributors\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://makeapullrequest.com\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\" alt=\"pull-request\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://hub.docker.com/r/abdeltwabmf/next-prayer\"\u003e\n        \u003cimg src=\"https://img.shields.io/docker/image-size/abdeltwabmf/next-prayer/latest\" alt=\"docker\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/AbdeltwabMF/next-prayer\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/languages/top/AbdeltwabMF/next-prayer\" alt=\"languages\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/AbdeltwabMF/next-prayer/CODE-OF-CONDUCT.md\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg\" alt=\"code-of-conduct\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.codacy.com?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=AbdeltwabMF/next-prayer\u0026amp;utm_campaign=Badge_Grade\"\u003e\n        \u003cimg src=\"https://app.codacy.com/project/badge/Grade/7abde45beb1a44ef858fb68e889a214e\" alt=\"quality\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/AbdeltwabMF/next-prayer/graphs/commit-activity\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/commit-activity/w/abdeltwabmf/next-prayer\" alt=\"commits\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/AbdeltwabMF/next-prayer\"\u003e\n        \u003cimg src=\"https://img.shields.io/tokei/lines/github/AbdeltwabMF/next-prayer\" alt=\"lines-of-code\" /\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n---\n\n## Installation\n\n### 1. Arch-based distributions\n\n```bash\nyay -S next-prayer\n```\n\n### 2. Build from source\n\n```bash\ngit clone https://github.com/abdeltwabmf/next-prayer.git\ncd next-prayer\nmake all install\n```\n\n### 3. Docker image\n\n1. Use [**_Docker Hub_**](https://hub.docker.com/r/abdeltwabmf/next-prayer) image by running the following commands:\n\n```bash\ndocker pull abdeltwabmf/next-prayer\ndocker tag abdeltwabmf/next-prayer next-prayer\ndocker run --rm next-prayer next-prayer --version\n```\n\n2. Build it yourself by running the following commands:\n\n```bash\ngit clone https://github.com/abdeltwabmf/next-prayer.git\ncd next-prayer\ndocker build -t next-prayer .\ndocker run --rm next-prayer next-prayer --version\n```\n\n#### Configuration\n\n1. After updating your configuration file save it locally and run the following command to fetch API data:\n\n```dockerfile\ndocker run --rm -v /path/to/your/config:/home/nextprayer/.config/next-prayer/np_config.py -v /path/to/your/data:/home/nextprayer/.local/share/next-prayer next-prayer np_fetch.py\n```\n\n2. Afterword run the following command:\n\n```dockerfile\ndocker run --rm -v /path/to/your/data:/home/nextprayer/.local/share/next-prayer next-prayer next-prayer [options...]\n```\n\n---\n\n## :thinking: Usage\n\n```shell\nUsage: next-prayer [options...]\n\nOptions:\n  --help       Display this help message.\n  --version    Version name.\n  --next       Next prayer time.\n  --all        All timings.\n  --prev       Previous prayer time.\n  --left       Time left to next prayer.\n  --elapsed    Elapsed time since last prayer.\n  --adhan      True if adhan is playing now.\n  --hijri      Hijri date.\n  --hybrid     The elapsed time since the previous prayer as far as the elapsed time \u003c= THRESHOLD.\n```\n\nUse `next-prayer` options with _docker_ as follows:\n\n\u003cpre\u003e\u003ccode\u003edocker run --rm next-prayer next-prayer [options...]\u003c/code\u003e\u003c/pre\u003e\n\n---\n\n## Setup (Status bar)\n\nHere are some examples how to setup the status bar with next-prayer:\n\n[**_1. dwmblocks_**](https://github.com/torrinfail/dwmblocks)\n\n:star2: Add this 4-element Block to the blocks[] array in your config.h.\n\n```c\nstatic const Block blocks[] = {\n  /*Icon*/  /*Command*/              /*Update Interval*/  /*Update Signal*/\n  {\"🕌 \",    \"next-prayer --hybrid\",  29,                  0}\n}\n```\n\n[**_2. i3blocks_**](https://github.com/vivien/i3blocks)\n\n:star2: Add this section to your i3blocks config file.\u003cbr\u003e\n\n```code\n[next-prayer]\ncommand=next-prayer --hybrid\ninterval=29\nlabel=\u003cspan\u003e🕌 \u003c/span\u003e\ncolor=#FF8105\nborder=#FF8105\nborder_top=1\nborder_right=0\nborder_bottom=0\nborder_left=0\n```\n\n:eyes: If you're using the docker version Add `docker run --rm next-prayer` at the very beginning of your command.\n\n---\n\n## :hatching_chick: Contributors\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n        \u003ca href=\"https://abdeltwabmf.github.io\"\u003e\n        \u003cimg src=\"https://avatars.githubusercontent.com/u/55063723?v=4?s=100\" width=\"100px;\" alt=\"Abdeltwabmf\"/\u003e\u003cbr /\u003e\n            \u003csub\u003e\u003cb\u003eAbd El-Twab M. Fakhry\u003c/b\u003e\u003c/sub\u003e\n        \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n        \u003ca href=\"https://mazzensaadd.github.io\"\u003e\n        \u003cimg src=\"https://avatars.githubusercontent.com/u/69648110?v=4?s=100\" width=\"100px;\" alt=\"mazzensaadd\"/\u003e\u003cbr /\u003e\n            \u003csub\u003e\u003cb\u003eMazen Saad\u003c/b\u003e\u003c/sub\u003e\n        \u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n        \u003ca href=\"https://github.com/MustafaAmer-1\"\u003e\n        \u003cimg src=\"https://avatars.githubusercontent.com/u/53836898?v=4?s=100\" width=\"100px;\" alt=\"MustafaAmer-1\"/\u003e\u003cbr /\u003e\n            \u003csub\u003e\u003cb\u003eMustafa Amer\u003c/b\u003e\u003c/sub\u003e\n        \u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n---\n\n## :warning: License\n\nLicensed under the [GPL-v3 License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdeltwabmf%2Fnext-prayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdeltwabmf%2Fnext-prayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdeltwabmf%2Fnext-prayer/lists"}