feat: toggleable live map feeds (ADS-B, trains, AIS, radar, WFIGS, NWS)

Wire the free data streams from docs/free-data-streams.md into the
dashboard as layer-panel toggles. Third-party APIs are proxied/cached
in FastAPI; raster tiles (IEM, RainViewer, GIBS) stay in the browser.

- Aircraft via ADSB.lol viewport poll (bbox required, radius ≤ 150 nm)
- Amtraker trains, NHC storms, WFIGS incidents/perimeters
- NWS + IEM SBW as /api/weather-alerts (does not collide with /api/alerts)
- AISStream worker is server-side only and idles without AISSTREAM_API_KEY
- Caltrans CWWP2 D1–D12 camera parser; FIRMS dual-write NOAA-20/21
This commit is contained in:
Sirius DevOps 2026-08-27 19:08:30 -04:00
commit f779b1f225
15 changed files with 1662 additions and 39 deletions

View file

@ -67,6 +67,19 @@ KEY_REGISTRY: dict[str, dict] = {
"pattern": r"^\d{8,10}:[0-9A-Za-z_-]{35}$",
"example": "123456789:AA… (bot token from @BotFather)",
},
"AISSTREAM_API_KEY": {
"description": "AISStream WebSocket key — live vessel positions (server-side only).",
"pattern": r"^.{8,}$",
"example": "key from https://aisstream.io/account (GitHub login)",
},
"OPENSKY_CLIENT_ID": {
"description": "OpenSky OAuth client id — optional ADS-B fallback (unused until enabled).",
"example": "client id from opensky-network.org account",
},
"OPENSKY_CLIENT_SECRET": {
"description": "OpenSky OAuth client secret — optional ADS-B fallback.",
"example": "client secret from the OpenSky account page",
},
}
# Any stored key must at least be a sane UPPER_SNAKE name.