And establish prayer at the two ends of the day and at the approach of the night. Indeed, good deeds do away with misdeeds. That is a reminder for those who remember. - Quran 11:114
Minimal, customizable, and neofetch-like Prayer Times CLI, written in Go
- Automatic location detection
- Accurate daily prayer times
- English/Arabic Support
- No API keys or personal data required
- Hijri and Gregorian date support
- Compact mode for minimal output
Linux/macOS:
git clone github.com/grandiser/salah.git
cd salah
go build -o salah
sudo mv salah /usr/local/bin/Windows:
git clone https://github.com/grandiser/salah.git
cd salah
go build -o salah.exe
move salah.exe C:/Windows/System32/salah.exego install github.com/grandiser/salah@latest-
Download the binary for your platform from the Releases page
-
Linux/macOS: Make executable and install:
chmod +x salah-linux-amd64
sudo mv salah-linux-amd64 /usr/local/bin/salah- Windows: Move to a directory in your PATH or run directly:
# Run directly
./salah-windows-amd64.exe
# Or move to PATH directory
move salah-windows-amd64.exe C:\Windows\System32\salah.exe# Default (auto-detect location)
salah
# Specify city and country
salah --city "Casablanca" --country "Morocco"
# Compact output
salah --compact
# Show help
salah --help--city <name>: Specify city for prayer times--country <name>: Specify country (must be used with --city)--compact: Compact display mode--help: Show help message
A config file is created at ~/.config/salah/salah.toml (Linux/macOS) or %AppData%/salah/salah.toml (Windows) on first run:
city: Default citycountry: Default countrycalculationMethod: Calculation method ID or shorthand (API reference)compact: Compact outputuseArabic: Use Arabic for Dates and Prayer NameshijriDate: Show Hijri datelocateByIp: Use IP-based location
| macOS | Linux Mint |
|---|---|
![]() |
![]() |
![]() |
![]() |
- IP Detection and Geolocation: Gets your public IP address using ip-api.com
- Prayer Times: Fetches prayer times from AlAdhan API
- Display: Shows formatted prayer times in your terminal
MIT License — see LICENSE for details.
- AlAdhan API for providing accurate and reliable prayer times data
- IP-API for providing free and accurate geolocation data
- Inspired by stormy, a minimal, neofetch-like weather CLI



