Skip to content

Export a snapshot

behold export captures whatever you are looking at into a static folder that any host can serve. Read-only, and fully interactive.

Terminal window
npx behold export --out ./behold-export
npx serve ./behold-export

Pan and zoom, the zoom dial, the inspect pane and the env/tier pickers all work client-side. There is no backend and no live observe: it is a snapshot, and it says so.

Every read endpoint for the whole lens matrix (each env/tier × zoom × radial), rendered in-process by the same handlers the live server runs. A snapshot is byte-identical to what live would have shown at that moment.

Terminal window
npx behold export ../my-project --env prod --out ./behold-export

Freezes the drift colours as they were when you exported. Useful for an incident write-up, or for showing someone an estate they have no credentials for.

The bundle is deploy-ready for Cloudflare, since export writes an assets-only wrangler.jsonc:

Terminal window
cd ./behold-export && npx wrangler deploy

GitHub Pages, S3 and nginx work too. The live app needs Docker and a chant subprocess and cannot run on an edge worker; the pre-baked export can.