Disaster Alert
An Omarchy bar widget that shows nearby GDACS disaster alerts for earthquakes, tsunamis, floods, volcanoes, tropical cyclones, wildfires, droughts, epidemics, and other major events.
Features
- Shows the current alert status in the Omarchy bar.
- Displays nearby events on a map with
RedandOrangemarkers. - Shows the current location on the map.
- Detects the approximate location from the public
ipwho.isservice. - Lets you search for and monitor another city with OpenStreetMap Nominatim.
- Sends desktop notifications for new nearby orange and red alerts.
- Opens the GDACS report for an event from the details panel.
- Remembers previously seen events without writing state into the plugin directory.
Disclaimer
This plugin is not an early warning system and must not be used as a replacement for official emergency alerts. Always follow instructions and information from local authorities and official emergency services.
Requirements
- Omarchy with shell plugin support.
curl.notify-sendfor desktop notifications.- An internet connection for location, map boundary, and GDACS data.
Installation
Install it as a local Omarchy plugin:
mkdir -p ~/.config/omarchy/plugins
git clone https://github.com/a-gracia/disaster-alert.git ~/.config/omarchy/plugins/disaster-alert
omarchy plugin enable disaster-alert
The plugin can also be installed from a Git repository using Omarchy's plugin manager:
omarchy plugin add https://github.com/a-gracia/disaster-alert.git --enable
Publishing Checklist
- Create a public repository named
disaster-alertunder a-gracia. - Upload the contents of this directory to the repository root.
- Confirm that
manifest.json,README.md, andLICENSEare present at the repository root. - Commit and push the changes to GitHub.
- Submit
https://github.com/a-gracia/disaster-alertthrough the Omarchy plugin submission form with a category and tags.
Removal
Disable the plugin before removing it:
omarchy plugin disable disaster-alert
omarchy plugin remove disaster-alert --yes
If it was installed with git clone, remove the plugin directory after
disabling it:
rm -rf ~/.config/omarchy/plugins/disaster-alert
The optional local snapshot can be removed separately:
rm -f ~/.local/state/omarchy/disaster-alert.json
Configuration
The refresh interval can be changed in the Omarchy plugin settings. The manifest defaults to 600 seconds and accepts values from 60 to 3600 seconds.
To move the widget in the bar:
omarchy bar move disaster-alert --section right
The popup is anchored to the widget instead of being centered on the bar.
Data Sources
- Disaster events: GDACS
- Approximate IP location: ipwho.is
- City search and country boundaries: OpenStreetMap Nominatim
The plugin stores only a list of previously seen event keys at:
~/.local/state/omarchy/disaster-alert.json
No location or event history is stored by the plugin.
Files
manifest.json- Omarchy plugin metadata and settings schema.BarWidget.qml- Bar button and popup loader.Panel.qml- Location, map, event list, notifications, and controls.