{"id":30203789,"url":"https://github.com/yasso9/prayer-times","last_synced_at":"2025-08-13T12:06:22.770Z","repository":{"id":217289315,"uuid":"743490892","full_name":"Yasso9/prayer-times","owner":"Yasso9","description":"Islamic prayer times informations notifications based on your geographical location","archived":false,"fork":false,"pushed_at":"2024-08-25T20:36:02.000Z","size":168,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T05:27:38.008Z","etag":null,"topics":["arch-linux","cli-app","islam","islamic-prayer-times","muslim","muslim-prayer-times","notifications","rust","shell"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yasso9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-15T10:56:06.000Z","updated_at":"2025-04-17T20:15:28.000Z","dependencies_parsed_at":"2024-08-25T22:07:56.646Z","dependency_job_id":"5b626011-9023-4a8c-8fe4-f61961252d0a","html_url":"https://github.com/Yasso9/prayer-times","commit_stats":null,"previous_names":["yasso9/prayer-times"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Yasso9/prayer-times","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasso9%2Fprayer-times","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasso9%2Fprayer-times/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasso9%2Fprayer-times/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasso9%2Fprayer-times/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yasso9","download_url":"https://codeload.github.com/Yasso9/prayer-times/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasso9%2Fprayer-times/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270236463,"owners_count":24550204,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["arch-linux","cli-app","islam","islamic-prayer-times","muslim","muslim-prayer-times","notifications","rust","shell"],"created_at":"2025-08-13T12:06:11.586Z","updated_at":"2025-08-13T12:06:22.711Z","avatar_url":"https://github.com/Yasso9.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prayer Times\n\n## Overview\n\n`prayer-times` is a program that provides Islamic prayer times notifications based on your geographical location. It calculates prayer times for Fajr, Dhuhr, Asr, Maghrib, and Isha using specified calculation methods and adjustments.\n\nIt uses accurate calculation of prayer times based on geographical coordinates based on the algorithm provided by [praytimes.org](http://praytimes.org/).\n\n## Installation\n\n### Arch linux\n\n`prayer-times` is available in the [AUR](https://aur.archlinux.org/). You can install it with yay or paru depending on what you have.\n\n```sh\nyay -S prayer-times\n```\n\nor\n\n```sh\nparu -S prayer-times\n```\n\n### Manual\n\nClone the repository and build the executable. You should have `cargo` installed:\n\n```sh\ngit clone https://github.com/Yasso9/prayer-times\ncd prayer-times\ncargo build --release\n```\n\n## Usage\n\n```man\nUsage: prayer-times [OPTIONS] [COMMAND]\n\nCommands:\n  deamon          Start the process that will send notifications on prayers time [default]\n  current         Get the current prayer\n  next            Get the next prayer\n  list-prayers    List all the prayers of the current day\n  list-methods    List all methods available for the calculation of the prayer times\n  list-madhab     List all madhab available for the calculation of the prayer times\n  dry-run         Show the next prayer in a notification to test if everything works\n  config          Get the path of the toml config file\n  generate-shell  Generate shell completions and man pages\n  help            Print this message or the help of the given subcommand(s)\n\nOptions:\n  -l, --latitude \u003cLATITUDE\u003e            Latitude. Defaults to the current location\n  -L, --longitude \u003cLONGITUDE\u003e          Longitude. Defaults to the current location\n  -m, --method \u003cMETHOD\u003e                Calculation Method to use\n  -M, --madhab \u003cMADHAB\u003e                Madhab to use\n      --fajr-mod \u003cFAJR_MOD\u003e            Minutes to add or remove to the Fajr time\n      --dohr-mod \u003cDOHR_MOD\u003e            Minutes to add or remove to the Dohr time\n      --asr-mod \u003cASR_MOD\u003e              Minutes to add or remove to the Asr time\n      --maghrib-mod \u003cMAGHRIB_MOD\u003e      Minutes to add or remove to the Maghrib time\n      --isha-mod \u003cISHA_MOD\u003e            Minutes to add or remove to the Isha time\n      --notify-before \u003cNOTIFY_BEFORE\u003e  Show notification 10 minutes before prayer time [default: false] [possible values: true, false]\n      --icon \u003cICON\u003e                    Custom icon path for notifications\n      --urgency \u003cURGENCY\u003e              Notification urgency\n  -h, --help                           Print help\n  -V, --version                        Print version\n```\n\nYou can also configurate the program from a config file located in `$XDG_CONFIG_HOME/prayer-times/config.toml`. Here is the default config :\n\n```toml\n[prayer]\nmethod = \"MuslimWorldLeague\"\nmadhab = \"Shafi\"\nfajr_mod = 0\ndohr_mod = 0\nasr_mod = 0\nmaghrib_mod = 0\nisha_mod = 0\n\n[notification]\nnotify_before = false\nurgency = \"Critical\"\ninterval = 20\n```\n\nIf you specify cli arguments, it will always take precedence on what you have on your config. If you don't specify any latitude and longitude it will be infered from your IP address. Location from an IP address is not always totally accurate so I advise you greatly to specify your own latitude and longitude if you want to have the most accurate prayer time.\n\n## Examples\n\n`prayer-times next`\n```sh\nAdhan Dhuhr in 01:13\n```\n\n`prayer-times list-prayers`\n```sh\nPrayer times:\nAdhan Fajr at 07:32:32\nAdhan Dhuhr at 13:55:24\nAdhan Asr at 17:29:43\nAdhan Maghrib at 20:23:24\nAdhan Isha at 22:08:05\n```\n\n`prayer-times list-methods`\n```sh\nMuslimWorldLeague : [ fajr angle: 18, isha angle: 17 ]\nNorthAmerica : [ fajr angle: 15, isha angle: 15 ]\nEgyptian : [ fajr angle: 19.5, isha angle: 17.5 ]\nUmmAlQura : [ fajr angle: 18.5, isha angle: 18.5 ]\nKarachi : [ fajr angle: 18, isha angle: 18 ]\nTehran : [ fajr angle: 17.7, isha angle: 14 ]\nJafari : [ fajr angle: 16, isha angle: 14 ]\nFranceUOIF : [ fajr angle: 12, isha angle: 12 ]\nFranceGMP : [ fajr angle: 18, isha angle: 18 ]\n```\n\n`prayer-times list-madhab`\n```sh\nMadhab:\nShafi\nHanafi\n```\n\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE). Feel free to use and contribute to this open-source project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasso9%2Fprayer-times","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasso9%2Fprayer-times","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasso9%2Fprayer-times/lists"}