Skip to content
Foundry
Esc
↑↓navigate↵open⌘Jpreview
On this page

Examples

Explore Spyglass's map of the Foundry repository.

Foundry

This is Spyglass reading its own repository. Each documentation build scans the current checkout and includes the saved dataset with the same viewer shipped in the CLI.

Open the full-screen map

Read the dataset manifest

Drag or zoom to explore the map above. Open the full-screen map for more room.

The viewer loads static files. It does not scan your machine or need a running Spyglass server. The manifest records the scan time, coverage, and any skipped packages. Historical checkpoints are not included in this example.

Build the example locally

From the Foundry repository root:

bun install --frozen-lockfile
bun run docs:build

The build runs spyglass scan on the checkout, then spyglass export docs/public/spyglass/examples/foundry, which writes the static viewer there, and the docs build copies it into docs/dist/spyglass/examples/foundry/. Any workspace can be published the same way; see export. Generated files are ignored by Git. bun run docs:dev refreshes the example before starting the docs server.

Was this page helpful?