Israel Alert Map APK

March 27, 2026 · View on GitHub

Android app for real-time visualization of Pikud HaOref (Israel Home Front Command) alerts on an interactive map.

Features

  • Tab 1 — National Map: Live alert polygons over Israel with color-coded legend (red = rockets/missiles, orange = early warning, green = all clear)
  • Tab 2 — Jerusalem Close-Up: Zoomed view of Jerusalem and surrounding areas
  • Tab 3 — Latest Alerts: Scrollable feed of recent alerts with Hebrew + English area names

Polls the Oref API every 15 seconds. Alerts persist on the map for 30 minutes (5 minutes for pre-warnings).

Tech Stack

  • Vanilla HTML/CSS/JS with Leaflet 1.9.4 for mapping
  • CARTO Voyager tiles (OpenStreetMap)
  • 1,450 pre-computed area polygons from Pikud HaOref data
  • Capacitor 8 for Android WebView wrapping
  • Capacitor native HTTP for CORS-free Oref API access

Building

npm install
npx cap sync android
cd android && ./gradlew assembleDebug

The debug APK will be at android/app/build/outputs/apk/debug/app-debug.apk.

Data Sources

  • Live alerts: https://www.oref.org.il/WarningMessages/alert/alerts.json (geo-restricted to Israel)
  • Area polygons: MIT-licensed from amitfin/oref_alert
  • Map tiles: CARTO / OpenStreetMap

Requirements

  • Android SDK (API 23+)
  • Node.js 18+
  • Device must be on Israeli network for Oref API access