Oref Alert Proxy
Local relay proxy for Israel Homefront Command (Pikud HaOref) alert data
About This Project
Oref-Alert-Proxy is a Python service that polls the unofficial real-time alert endpoint of Israel's Homefront Command (Pikud HaOref) and republishes the data locally over HTTP. Because the endpoint is geo-restricted and has no official public API, multiple applications polling it independently would generate redundant traffic and may observe slightly different snapshots. The proxy polls once on a configurable interval, typically every three seconds for active alerts and every sixty seconds for daily history, and exposes endpoints for current alerts, raw responses, history, health, and poller statistics. It is built on FastAPI and httpx and is packaged for deployment with Docker Compose or direct execution.
The project is intentionally a passive relay. It does not remap alert categories, persist alerts after Oref removes them, or interpret shelter instructions, early warnings, or drill messages, leaving those decisions to consumers. Its documentation includes a reference table of Oref alert categories, sample Python, JavaScript, and curl consumption examples, and notes that the proxy must run from within Israel or through an Israeli exit node.
The proxy is suited to developers building dashboards, Telegram bots, home automation triggers, or desktop notification tools that need Oref alert data without each service polling the source directly. It is released under the MIT license and is related to a companion Telegram bot project that consumes its output.