Vendor world map assets instead of loading jsDelivr at runtime #24

Open
opened 2026-05-17 12:12:47 +00:00 by MrSphay · 0 comments
Owner

Created from local project scan after reviewing existing issues #1-#23.

Current status: the project positions the dashboard as local, Docker-first, and self-contained, but dashboard/public/jarvis.html fetches the world-atlas topology from https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json at runtime. That creates an external dependency for the map, can break fully offline/private deployments, and leaks dashboard browser activity to a third-party CDN.

Code references:

  • dashboard/public/jarvis.html: runtime fetch('https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json') around the flat-map initialization path.
  • README/Docker positioning emphasizes local/self-contained operation.

Acceptance criteria:

  • Vendor the required world-atlas/topojson asset into dashboard/public/ or generate a compact local map asset during build.
  • Serve the map asset from the same origin as the dashboard.
  • Add a fallback/error state when the map asset is unavailable.
  • Document asset update procedure and license/attribution for the vendored map data.
  • Add a smoke check that the flat map works without internet access.
Created from local project scan after reviewing existing issues #1-#23. Current status: the project positions the dashboard as local, Docker-first, and self-contained, but `dashboard/public/jarvis.html` fetches the world-atlas topology from `https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json` at runtime. That creates an external dependency for the map, can break fully offline/private deployments, and leaks dashboard browser activity to a third-party CDN. Code references: - `dashboard/public/jarvis.html`: runtime `fetch('https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json')` around the flat-map initialization path. - README/Docker positioning emphasizes local/self-contained operation. Acceptance criteria: - Vendor the required world-atlas/topojson asset into `dashboard/public/` or generate a compact local map asset during build. - Serve the map asset from the same origin as the dashboard. - Add a fallback/error state when the map asset is unavailable. - Document asset update procedure and license/attribution for the vendored map data. - Add a smoke check that the flat map works without internet access.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MrSphay/intelligence-terminal#24