Crates.io | prayer-times |
lib.rs | prayer-times |
version | 0.1.0 |
source | src |
created_at | 2024-01-20 17:52:43.860242 |
updated_at | 2024-01-20 17:52:43.860242 |
description | Islamic Prayer Times Notification |
homepage | https://github.com/Yasso9/prayer-times |
repository | https://github.com/Yasso9/prayer-times |
max_upload_size | |
id | 1106677 |
size | 92,049 |
prayer-times
is a program that provides Islamic prayer time notifications based on your geographical location. It calculates prayer times for Fajr, Dhuhr, Asr, Maghrib, and Isha using specified calculation methods and adjustments.
It uses accurate calculation of prayer times based on geographical coordinates based on the algorithm provided by praytimes.org.
Usage: prayer-time [OPTIONS] --latitude <LATITUDE> --longitude <LONGITUDE>
Options:
-l, --latitude <LATITUDE> Latitude. Defaults to the current location
-L, --longitude <LONGITUDE> Longitude. Defaults to the current location
-m, --method <METHOD> Calculation Method to use [default: MuslimWorldLeague]
-M, --madhab <MADHAB> Madhab to use [default: Shafi]
--fajr-mod <FAJR_MOD> Minutes to add or remove to the Fajr time [default: 0]
--dohr-mod <DOHR_MOD> Minutes to add or remove to the Dohr time [default: 0]
--asr-mod <ASR_MOD> Minutes to add or remove to the Asr time [default: 0]
--maghrib-mod <MAGHRIB_MOD> Minutes to add or remove to the Maghrib time [default: 3]
--isha-mod <ISHA_MOD> Minutes to add or remove to the Isha time [default: 0]
--notify-before Show notification 10 minutes before prayer time
-h, --help Print help
-V, --version Print versio
Clone the repository and build the executable. You should have cargo
installed:
git clone https://github.com/your/repository.git
cd prayer-times
cargo build --release
This project is licensed under the MIT License. Feel free to use and contribute to this open-source project.