alerts

alerts

One stream of alerts from many sources (weather, news, service status and more), with dedup, ranking and delivery that survives faults.

The demo below runs the real code of the system in your browser. The messages, the places and the people are made up. The page calls no server.

From a message to a level

--:-- UTC

    Step

    1. 0messagesfrom the source
    2. 0reportsmapObservation, systemReports
    3. 0live incidentsadd, incidents
    4. 0levels sentassess

    Map

    • Life-safety
    • Urgent
    • Notice
    • No person
    • Coverage gap

    The core matches a home by its zone and county codes. The map draws the shapes, and decides nothing.

    By level

    Each person gets one level for each incident. Open an entry to see the reasons.

    Sources

    The core also watches its sources. A fold of the fetch log gives the health of each source. The coverage counts the independent sources at each home.

    Incidents

    The core joins the messages of one event into one incident. Select an incident to show it on the map.

    The message of this step

    How it works

    1. Map. A source adapter turns each message into a report, in one format for each source.
    2. Merge. The core joins the reports of one event: by a reference, by a shared key (VTEC) or by a link rule.
    3. Assess. The policy gives each person a level for each incident, with the reasons.
    4. Watch. The core folds the fetch log of each source into its health. When a home has too few independent sources, the core makes a system report.
    5. Deliver. The channels send the level, and escalate until the person acknowledges a life-safety message.

    Get the code

    git clone https://github.com/metrograph-labs/alerts.git

    Releases shows each version, and Status shows the open work.

    The alert texts: the privacy policy, the terms and the opt-in.