Files
Shadowbroker/viewer/web/api-allowlist.json
BigBodyCobainandClaude Fable 5.2 c0f54c4a02 Add look-only public viewer (viewer/)
A static, read-only build of the map for a public website, kept entirely
in a new viewer/ folder. Nothing in frontend/ or backend/ changes.

- viewer/engine: launcher for a loopback-only engine
- viewer/bridge: publishes approved map data as static JSON files
- viewer/web: builds the static site from a copy of frontend/
- viewer/public-layers.json: the single list of what is public

See viewer/README.md.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 06:55:44 -07:00

58 lines
2.7 KiB
JSON

{
"_comment": [
"App routes that may still be named inside the built viewer.",
"None of them can be reached: the viewer has no server, and netGuard.ts",
"refuses every /api/ call locally except the 'answered locally' ones.",
"A route appears here only with the reason its leftover mention is inert.",
"Anything not listed fails the build (check-dist.mjs)."
],
"paths": [
"/api",
"/api/cyber-threats",
"/api/scm-suppliers",
"/api/wikipedia/summary",
"/api/rest_v1/page/summary",
"/api/ai/analysis-zones",
"/api/ai/news/summary",
"/api/ai/pins",
"/api/ai/pins/geojson",
"/api/geocode/search",
"/api/oracle/region-intel",
"/api/osm-tile",
"/api/radio/openmhz/audio",
"/api/radio/openmhz/calls",
"/api/route",
"/api/sar/aois",
"/api/sar/status",
"/api/sigint/meshtastic/scan",
"/api/sigint/meshtastic/status",
"/api/trail/flight",
"/api/trail/ship",
"/api/viewport"
],
"why": {
"/api": "The guard's own route test.",
"/api/cyber-threats": "Answered locally from published data.",
"/api/scm-suppliers": "Answered locally from published data.",
"/api/wikipedia/summary": "Answered locally: the visitor's browser asks Wikipedia directly.",
"/api/rest_v1/page/summary": "Part of the Wikipedia address above, not an app route.",
"/api/ai/analysis-zones": "Delete button exists only on analysis zones, which the public engine never has. Refused.",
"/api/ai/news/summary": "AI brief; its button is hidden by a cut. Refused.",
"/api/ai/pins": "Pin saving; pin placement mode is never switched on in the viewer. Refused.",
"/api/ai/pins/geojson": "Runs only when the AI pins layer is on; that layer is hidden. Refused.",
"/api/geocode/search": "Place-name search; the viewer takes coordinates only. Refused.",
"/api/oracle/region-intel": "Automatic read on some popups. Refused; the popup shows no extra intel.",
"/api/osm-tile": "OSM basemap; that basemap choice is removed by a cut.",
"/api/radio/openmhz/audio": "Scanner tracker; the scanner layer is hidden so nothing can be tracked.",
"/api/radio/openmhz/calls": "Same as above.",
"/api/route": "Automatic flight-route read on select. Refused; no route line is drawn.",
"/api/sar/aois": "Runs only when the SAR layer is on; that layer is hidden. Refused.",
"/api/sar/status": "Automatic status read. Refused.",
"/api/sigint/meshtastic/scan": "Scan button removed by a cut; this is its unreachable handler.",
"/api/sigint/meshtastic/status": "Same as above.",
"/api/trail/flight": "Automatic trail read on select. Refused; trails come from published data only.",
"/api/trail/ship": "Same as above.",
"/api/viewport": "Map-pan notice to the server. Refused."
}
}