Atlas
v2.0.01Built by Yash Sakre

Hosting & deployment

The dashboard is a static React app that reads a single data.json at runtime — serve it locally, or export it and deploy it to any static host.

Serve locally

The quickest way. atlas serve analyzes, caches under ~/.atlas/, and serves at a local link.

atlas serve                  # http://localhost:4321
atlas serve --port 8080
atlas serve --no-open        # print the link, don't open a browser
atlas serve --reanalyze      # force a fresh scan

Export a static bundle

atlas export produces a self-contained folder: the dashboard assets plus a data.json snapshot. The app fetches ./data.json at runtime, so the bundle is fully static — no server logic required.

atlas export --out-dir ~/atlas-site
~/atlas-site/
~/atlas-site/
├─ index.html
├─ assets/        # JS/CSS bundles
└─ data.json      # the analysis snapshot

Preview it locally with any static server:

npx serve ~/atlas-site

Deploy it

Because the bundle is static and uses hash-based routing, it works on any static host with no SPA-rewrite configuration.

netlify deploy --dir ~/atlas-site --prod

Any container or CI works too: the bundle is just static files — serve them with npx serve, python -m http.server, Caddy, or copy them into any web server's root.

Keeping it fresh

data.json is a point-in-time snapshot. To update a deployed site, re-run atlas export --reanalyze and redeploy the folder — for example as a CI step on merge to main.

Where data lives

LocationWritten byCommit it?
.atlas/ in your repoanalyzeOptional — these are JSON reports.
~/.atlas/cache/<hash>/serve, exportNo — per-user cache outside the repo.
<out-dir>/ from exportexportThis is your deployable artifact.

serve and export never write into the scanned project. Only analyze does.

On this page