- Notifications
You must be signed in to change notification settings - Fork1
Prayer times CLI to remind you to Go pray
License
0xzer0x/go-pray
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Powerful and user-friendly command-line interface (CLI) application that helps Muslims stay on top of their daily prayers. With features like prayer time notifications, prayer calendars, and flexible configuration options. 🕌
- Prayer Notifications: Start the daemon to receive desktop notifications at prayer times. 🔔
- Next Prayer: Quickly find the next upcoming prayer. 🕒
- Prayer Calendar: View prayer times for today or any date. 📅
- Flexible Output: Supports multiple output formats (e.g., JSON, plain text). 📜
Warning
Currently, only the following platforms are supported:
- Linux (x86_64)
You can run the following command to install the latest release ofgo-pray
:
curl -sLo - https://github.com/0xzer0x/go-pray/raw/refs/heads/main/install.sh| bash
By default,go-pray
is installed to./bin
. To customize the install directory, run the following:
curl -sLo - https://github.com/0xzer0x/go-pray/raw/refs/heads/main/install.sh| env INSTALL_DIR=$HOME/.local/bin bash
To install a specific version, use the following:
curl -sLo - https://github.com/0xzer0x/go-pray/raw/refs/heads/main/install.sh| env INSTALL_VERSION=0.1.3 bash
go-pray
reads from aconfig.yml
file to manage settings. You can specify a custom configuration file using the--config
flag. By default, the application searches forconfig.yml
in the following paths:
$XDG_CONFIG_HOME/go-pray
$HOME/.config/go-pray
$HOME/.go-pray
An exampleconfig.yml is available. You can modify it to suit your location and preferences.
- Clone the repository:
git clone https://github.com/0xzer0x/go-pray.gitcd go-pray
- Install dependencies foroto:
apt install libasound2-dev
- Build the application:
go build -o go-pray
- Move the binary to your
$PATH
:
mv go-pray /usr/local/bin/
Contributions are welcome! To get started:
- Fork the repository
- Create a branch for your feature (
git checkout -b feat/amazing-feature
) - Commit your changes (
git commit -m 'feat: add amazing-feature'
) - Push the branch (
git push origin feat/amazing-feature
) - Open a Pull Request
- AdhanGo library for calculation of prayer times.
Distributed under the GPL v3 License. SeeLICENSE.txt
for more information.
About
Prayer times CLI to remind you to Go pray