ramadan-cli (Rust)
Rust implementation of the ramadan-cli project.
What it does
- Shows Sehar (Fajr) and Iftar (Maghrib) timings.
- Supports today view, full Ramadan month, and specific roza number.
- Uses saved config (city/country/coords/method/school/timezone).
- Falls back to IP geolocation and city geocoding.
- Supports JSON mode for automation.
- Supports custom first roza date override.
Install
Build and run from source:
Install locally (adds binaries to ~/.cargo/bin):
CLI surface
Aliases (same CLI behavior):
rozaramzanramazanramadan
Main options
Config options
JSON error contract
On failures with --json, stderr emits:
Development
Notes
- Config directory can be overridden with
RAMADAN_CLI_CONFIG_DIR. - In JSON mode, data is printed to stdout and structured errors to stderr.
See RELEASE_CHECKLIST.md before tagging/publishing.