Skip to content

A stand alone terminal app that can get "red alert"s from IDF's Home Front Command

License

Notifications You must be signed in to change notification settings

ashr123/red-alert-listener

Repository files navigation

red-alert-listener

Requirements

  1. red-alert-listener.conf.json is being searched under current working directory by default (can be changed by stating the path (can be relative) to the configuration file via -c flag).
  2. JRE 21 (or newer)
  3. Must have an Israeli IP address.
  4. JAR can be downloaded through Packages → io.github.ashr123.red-alert-listener → Assets → red-alert-listener-<version>-jar-with-dependencies.jar

Capabilities

  1. Display alerts as the Home Front Command produces them.
  2. Make alert sound if the event contains areas of interest defined in red-alert-listener.conf.json.
  3. Supports all official languages:
    • Hebrew (code HE)
    • English (code EN)
    • Russian (code RU)
    • Arabic (code AR)

Legal districts (and their translation) can be found by:

  1. Running java -jar <downloaded-jar-file>.jar get-remote-districts-as-json -l <language code> | egrep -i "<district1>|<district2>[|...]"
  2. Saving those districts to file like this: java -jar <downloaded-jar-file>.jar get-remote-districts-as-json-to-file -l <language code> [-o <your-file-name>.json] (the default file name is districts.json) and search in it as you may like.

Known bugs

  • On Raspberry Pi 4 with Ubuntu 22.10, alert sound isn't working.

Demonstration

Operation Guardian of the Walls demo1 demo2 Operation Breaking Dawn demo3 demo4 Operation Shield and Arrow Swords of Iron War