A cross-platform alert monitor for Israel's Home Front Command (Pikud HaOref). Polls the official API and delivers native notifications for rocket alerts, safe-room updates, and other warnings in your configured cities.
Supports macOS and Linux.
Linux users: See README-linux.md for Linux-specific installation and usage.
- Native notifications with sound
- Configurable city list (supports Hebrew names)
- Runs as a background service
- Lightweight -- pure Python, no external dependencies required (optional
certififor SSL) - First-run seeding to avoid duplicate notifications on startup
git clone https://github.com/amito/israel-homefront-macos-notifier.git
cd israel-homefront-macos-notifier
# Edit the city list
vi config.json
# Install as a service (starts automatically)
./install.shSee INSTALL.md for detailed instructions.
Edit config.json:
{
"cities": ["תל אביב - יפו", "חיפה"],
"poll_interval_seconds": 5,
"lang": "he"
}| Field | Description | Default |
|---|---|---|
cities |
List of city names in Hebrew | required |
poll_interval_seconds |
Seconds between API polls | 5 |
lang |
API language code | "he" |
- Polls the Pikud HaOref alerts history API every few seconds
- Tracks seen alerts in
~/.oref-notifier/seen_alerts.json - Sends a native notification for each new alert
- On first run, seeds all existing alerts as "seen" to avoid a notification flood