MurasakiIzumi/dsh-quake-alert ↗★ 1

dsh-quake-alert

Real-time earthquake, EEW, tsunami and weather alerts: Japan (P2PQuake + JMA telegrams), global earthquakes (EMSC/USGS) and tsunamis (NOAA), mainland China (CENC earthquakes via Wolfx, plus nmc.cn rainstorm / geological-hazard warnings), and US / Canadian weather hazards (NWS flood warnings, ECCC rainfall / storm-surge warnings) — matched against your watch regions and thresholds. 适合需要在工作流中接收多地区实时灾害预警推送的用户。

패키지
dsh-quake-alert
호환성
미검증
Cordis peer 범위
^4.0.1
버전
0.9.4
라이선스
MIT
최근 업데이트
2026. 9. 27.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MurasakiIzumi/dsh-quake-alert

Usage

  1. Open Settings → Disaster Alerts (灾害预警).
  2. Watch regions: pick a country / region first (Japan / Mainland China / other countries / regions), then work through that country's own controls:
    • Japan: select the prefectures you live in or care about (leave empty for all of Japan). Once a prefecture is selected you can narrow it further to municipalities (searchable, multi-select).
    • Mainland China: pick a province → a city → a radius → "Add this city". Alternatively click "Use my location" to add a watch point straight from browser geolocation (it warns you that the fix may be imprecise). Coordinates in the table are administrative centres — for very large prefectures (Garzê, Harbin) the point can be over 100 km from the urban centre, so widen the radius if you live on the edge.
    • Other countries / regions: pick a country → find a city in the search box → one click adds it (it uses the shared radius steps). The city table only contains towns of 100,000+ inhabitants; for a country / region missing from the table, or for an exact point, fill in the coordinate form below by hand (or use "Use current location").
    • Watched places are listed together below this block (grouped by origin: Japan / Mainland China / other countries) and can be removed at any time.
  3. Disaster types and thresholds: one hazard per row — the switch decides whether to alert, the threshold decides how strong it has to be. Weather hazards have fixed boundaries, so they get a switch and no steps.
  4. Notifications and sound: enable the alert tone and/or system notifications and adjust the volume. Use the preview buttons to check the tones, and "Test system notification" to grant permission and verify delivery.
  5. Data source: keep "Production" for daily use; switch to "Sandbox" to verify the pipeline or see it in action (about one 2023 replay every 30 seconds).
  6. Test & diagnostics: two test buttons (weather / global) build telegrams in the source format locally and run them through the real parsers and matcher, making no network request at all, so you can click them as often as you like — the way to confirm the pipeline works on a day with no real disaster (the result line reports honestly whether anything was announced, and why not when it was not). Below them are the per-source status and the diagnostic snapshot (ready to paste into an AI assistant for troubleshooting).
    • "Send test global alert (rotating scenarios)" builds EMSC / USGS / NOAA telegrams. Four scenarios rotate; the "distant earthquake" one is ~550 km away (it misses when your radius is smaller than that and hits when it is larger), to show what the radius does.
    • "Send test weather alert (rotating scenarios)" rotates through landslide / flood / heavy rain / storm surge, plus an L3 case that deliberately stays silent.
    • "Global source status" shows the EMSC connection plus how many increments each polled source (JMA / USGS / NOAA) has received and how long ago it last polled — so you can confirm the pipeline is alive. Worldwide earthquakes are infrequent by nature; hearing nothing is the normal state.

When an alert matches, you get a tone plus a foreground toast or a background system notification, and the event is recorded in "Recent alerts".