# chomp — Complete Documentation & Reference > Chomp turns your codebase into a live visual map—so you and your AI coding agent can see how everything connects before changing a line. Canonical site: https://getchomp.dev --- # chomp — The live map of your codebase. > Your AI wrote 25,000 lines. Nobody read them. Chomp did. Chomp turns your codebase into a live visual map—so you and your AI coding agent can see how everything connects before changing a line. ## Run it on your repo ```bash npx @getchomp/cli init && npx @getchomp/cli ui ``` No login • Zero code uploaded • System map in ~60 seconds ## Writing code by hand used to build the map in your head. When AI writes code, nobody holds the map. Chomp builds it. - **Proven from code.** Every function, route, and component links to an exact line of source code. - **Never guessed.** A live map of how everything connects. Calls too dynamic to prove are marked ? N unresolved. - **One shared map.** Built for engineers, designers, PMs, and coding agents—spot pending changes and check blast radius before editing. ## Change one thing. See everything it touches. A real example, from this site's own code. 1. **Your agent is about to change one thing.** Here, the shared Button on this site. 2. **Chomp spotlights everything that depends on it.** Every caller, proven from code—never guessed. 3. **Your agent reads the same answer before it edits.** As a tool result, in plain fields. ```text $ chomp_get_blast_radius Button risk HIGH direct callers 8 callers in all 13 pages affected 5 guidance Preserve the signature or update all callers in lockstep. ``` ## Your source code never leaves your machine. Chomp analyzes your repo locally on 127.0.0.1. Only anonymized shapes go to api.getchomp.dev, and coordinates come back. 1. Chomp reads your repo locally on 127.0.0.1. No network calls. 2. Only anonymized shapes go to api.getchomp.dev: placeholders instead of names, zero source code, zero file paths. 3. Coordinates come back. Your browser restores your real names locally. **What exactly is sent? (illustrative)** ```json { "id": "a8f39c12", "kind": "function", "width": 220, "height": 84 } ``` ## Running in 60 seconds. 1. **Run.** Map your repo and wire in your agent. ```bash npx @getchomp/cli init ``` 2. **Open.** Start 127.0.0.1:5555 and open Chomp Map. ```bash npx @getchomp/cli ui ``` 3. **Ask.** Ask your agent what a change would break and spotlight it on Chomp Map. ```text What breaks if I change our auth session type? ``` [Full setup guide and tool reference](https://getchomp.dev/docs/get-started) ## Proven from code, never guessed. Every box and line links to an exact line of source code. Where code is too dynamic to prove, Chomp marks ? N unresolved instead of faking a connection. Built-in map plugins layer on Design system checks, Summaries, and Bridges for dynamic calls. Built-in support: TypeScript, Node.js, Next.js, React, Express, Astro, SvelteKit, Payload, Drizzle, MCP. [See pattern coverage](https://getchomp.dev/coverage) ## Run it free. Partner with us if your team needs more. ### Solo builders & open source (Free forever (CLI + Preview) • Full map free in Early Access) One command. Zero code uploaded. See your system map in 60 seconds. - Unlimited local analysis, health checks, and pending-changes diffs on 127.0.0.1. - Full MCP server for Cursor, Claude Code, Kiro, and Antigravity. - Live Preview: full System view plus 1 primary package up to 25 nodes, no login. - Sign in with GitHub to unlock every Package view plus Design system, Summaries, and Bridges—free during Early Access. ### Founding teams & Chomp Cloud (Vetting first 5 teams • Cloud waitlist open) Need shared team maps, custom rules for your stack, or hands-on architecture and design-system work with the founder? We're vetting a small first group right now and keeping an open waitlist for Chomp Cloud. - Open waitlist for Chomp Cloud (multi-repo System view, shared views, CI gates). - Founding teams: unlimited seats and 48-hour turnaround for ? unresolved patterns. - Optional hands-on Architecture & Design System Studio directly with Chomp's creator. [Learn more & join waitlist](https://getchomp.dev/teams) ## FAQ ### Why not Madge, dependency-cruiser, or just ask Claude to draw a diagram? Madge draws file-to-file spaghetti and can't say what calls what. An LLM-drawn diagram is a confident guess that rots on your next commit. Chomp is proven from code, never guessed—every box and line on the map links to an exact line in your repo. ### Doesn't my editor already index my code? Editors search your code to find relevant files. Chomp maps how it's wired and shows you the same live map your agent reads. It sits outside any one editor, so it works the same in Cursor, Claude Code, Kiro, and Antigravity. ### Does my code leave my machine? No. Analysis runs locally on 127.0.0.1. Only anonymized shapes (placeholders instead of names, no paths or code) go to api.getchomp.dev, which returns coordinates and forgets the request. ### What if my code uses dynamic calls or custom wrappers? Chomp won't fake it. It marks the call ? unresolved and groups similar ones, so you can see the pattern. Connect custom wrappers locally with Bridges, or let us add custom patterns for your stack on a Team plan. ### What's the difference between Live Preview and the full map? Live Preview shows the full System view and 1 primary package up to 25 nodes, with no login. Signing in with GitHub unlocks every Package view and all map plugins (Design system, Summaries, and Bridges). ### Can I just ask my coding agent to hack around the preview limit? No. The layout engine isn't in the public npm package—it runs on api.getchomp.dev, and zero coordinates for locked packages are ever sent to your browser. ### Will it slow down my agent or eat its context window? It shouldn't. One targeted query replaces reading a pile of files. We haven't published benchmarks yet, so treat that as a design goal, not a measured result. ### What stacks are supported? TypeScript and JavaScript repos. Multi-language support is planned, not here yet. ## Software should continuously describe itself. We have disciplines for testing, deployment, security, observability, and design systems—yet none for keeping a living picture of how software is actually put together. Source code is implementation. Docs are interpretation. Diagrams are snapshots. A software representation is derived from code, continuously. [Get started](https://getchomp.dev/docs/get-started) --- # Get started Chomp turns your codebase into a live visual map—so you and your AI coding agent can see how everything connects before changing a line. Everything runs locally on your machine. ## Three steps to your first map 1. **Map your repo and wire your agent** Analyzes your codebase locally, saves a SQLite map in .chomp/, and registers Chomp's MCP tools with Cursor, Claude Code, Kiro, or Antigravity. ```bash npx @getchomp/cli init ``` 2. **Open Chomp Map** Starts the local bridge server on 127.0.0.1:5555 and opens Chomp Map (app.getchomp.dev) in your browser. ```bash npx @getchomp/cli ui ``` 3. **Ask your agent a real question** ```text Use Chomp to show what breaks if I change our auth session type, and spotlight it on Chomp Map. ``` ## Live Preview vs. full map You can inspect your repo immediately without creating an account. - Live Preview (no login): 100% of your System view (every package and cross-package dependency count) plus 1 primary Package view up close. - Full map (GitHub sign-in): Sign in directly inside Chomp Map to unlock every Package view, live pending-changes diffs, and all interactive map plugins—free during Early Access. - Zero code uploaded: Analysis stays local on 127.0.0.1. Only anonymized shapes go to api.getchomp.dev to compute coordinates. > **Want to keep your repo git-clean?** Run `npx @getchomp/cli init --stealth` (Git-clean mode). Chomp excludes `.chomp/` via `.git/info/exclude` and never edits tracked files. ## Where to go next - Configure a specific editor or switch active repos in IDE & agent setup (/docs/ide-setup). - Learn how System view, Package view, Shared, Uncalled, and ? N unresolved work in Reading the map & privacy (/docs/reading-the-map). - Browse every command in CLI commands (/docs/cli) and every agent tool in MCP tools (/docs/mcp-tools). --- # IDE & agent setup Run `npx @getchomp/cli init` once and Chomp detects the coding agents installed in your workspace, registers its local MCP server, and installs map-first instructions. ## Per-agent configuration Choose your editor or coding agent below to see the exact files `chomp init` writes. ### Cursor - **Files written:** .cursor/mcp.json, .cursorrules - Registers `chomp-server` in `.cursor/mcp.json` and adds map-first workflow guidance to `.cursorrules` so Composer checks blast radius before edits. ```bash npx @getchomp/cli init ``` ```text Use Chomp to trace how checkout webhooks reach our database and spotlight the path. ``` ### Claude Code - **Files written:** .mcp.json, CLAUDE.md - Adds `chomp-server` to `.mcp.json` and appends concise map-first rules to `CLAUDE.md` so Claude queries the graph instead of grepping blindly. ```bash npx @getchomp/cli init ``` ```text Run chomp_get_blast_radius on createSession before refactoring its return type. ``` ### Kiro - **Files written:** .kiro/settings/mcp.json, steering file, sync hook, power - Configures Kiro's MCP server, steering instructions, and a save hook so your local map refreshes as files change. ```bash npx @getchomp/cli init ``` ```text Check chomp_audit_health and list any ? unresolved hotspots in our API package. ``` ### Antigravity - **Files written:** AGENTS.md, mcp_config.json - Wires `chomp-server` into Antigravity's MCP configuration and aligns agent rules in `AGENTS.md`. ```bash npx @getchomp/cli init ``` ```text Use Chomp to check package boundaries and verify my pending changes with chomp_get_diff. ``` ## Git-clean mode (--stealth) Try Chomp on a shared or enterprise repo without touching tracked files or dirtying `git status`. **Initialize in Git-clean mode** ```bash npx @getchomp/cli init --stealth ``` - Adds `.chomp/` to `.git/info/exclude` instead of editing `.gitignore`. - Skips modifying tracked repo files so your pull requests stay completely clean. - Points Chomp's global MCP server at the repo without committing team-wide editor configs. ## Switching between repositories Chomp's global MCP server tracks one active repository at a time so every agent session queries the right map. Running `chomp connect` updates your active repo pointer (`~/.chomp/context.json`) and supports `--stealth` as well. If the repo has not been analyzed yet, run `chomp analyze` right after. **Point Chomp at another local repo** ```bash cd ../another-repo npx @getchomp/cli connect ``` --- # Reading Chomp Map & privacy Chomp derives structure directly from your TypeScript and JavaScript source files—never from LLM guesses. Every box and wire links back to an exact file and line. ## System view and Package view - `System view`: The top-level map of your codebase: every package (or app), how packages depend on each other, and outgoing external calls (databases, caches, queues, external APIs). - `Package view`: Zoom inside any package to trace how entry points (pages, API routes, CLI commands, startup code) call functions, components, classes, and helpers step by step. - `Pending changes`: Toggle live Git diff overlay to paint uncommitted edits directly on the map: +ADDED (green), ~MOD (amber), and -REM (red). - `Agent spotlight`: When you ask your AI agent how a flow works, Chomp highlights the exact path on your map with STEP k of N navigation. ## Shared, Uncalled, and Internal helpers - `Shared (❖ N shared)`: Reused components, middleware, classes, types, and utilities referenced across a package. - `Uncalled (N uncalled)`: Exported functions, routes, or components with zero callers inside this repo—either unused code or intentional public SDK surface. - `Internal helpers`: Small single-package utilities folded cleanly onto their host node so the map stays readable. ## Honest unknowns (? N unresolved) A trustworthy map admits what static analysis cannot prove. When code invokes a dynamic callback, dependency-injection container, or custom wrapper that syntax alone cannot prove, Chomp marks the call `? N unresolved` and clusters similar calls by shape instead of fabricating a line. Click any `? unresolved` badge in the inspector to see the exact line of code, then wire custom patterns locally with the Bridges plugin (`chomp_local_shims`). ## Built-in map plugins - `Design system`: Audits design tokens, WCAG contrast pairs, hardcoded hex/pixel literals, arbitrary Tailwind values, and near-duplicate UI components. - `Bridges`: Connects unresolved dynamic calls, event buses, dependency injection, or external OpenAPI specs onto the map (`chomp_local_shims`). - `Summaries`: Attaches plain-English names and summaries to nodes (`chomp_enrich_nodes`), each tied to a hash of that node's code so stale docs flag themselves automatically. - `Sequences (Coming soon)`: Planned step-by-step playback of multi-request user and API flows across packages. ## Privacy & local-first architecture Your source code, symbol names, and file paths never leave 127.0.0.1. **Illustrative node payload sent to api.getchomp.dev** ```json { "id": "a8f39c12", "kind": "function", "width": 220, "height": 84 } ``` - 1. Analyze locally: `chomp analyze` parses your repo on your machine and stores the map in `.chomp/graph.db` with zero network calls. - 2. Anonymized layout request: When you open Chomp Map, `chomp ui` strips all source snippets, file paths, and symbol names into blank geometric shapes (`n_01`, widths, connections) and posts only those shapes to `api.getchomp.dev`. - 3. Rehydrate in your browser: `api.getchomp.dev` computes orthogonal coordinates, forgets the request, and returns coordinates. Your browser merges your real names locally over `http://127.0.0.1:5555`. --- # CLI command reference Run every command with `npx @getchomp/cli ` or install globally with `npm i -g @getchomp/cli`. ## Core commands - `chomp init [--stealth]`: Set up Chomp in a repository: runs local analysis, saves `.chomp/graph.db`, and writes MCP & rules config for Cursor, Claude Code, Kiro, and Antigravity. Use `--stealth` for Git-clean mode. - `chomp analyze [path]`: Build or refresh the local structural map for the repository (or a specific directory/file). - `chomp ui [--port 5555]`: Start the local loopback bridge on `127.0.0.1:5555` and open Chomp Map (`app.getchomp.dev`) in your browser. - `chomp connect [--stealth]`: Set the active repository for Chomp's global MCP server and Chomp Map without re-running full setup. ## Health and export - `chomp health`: Print a completeness report: wired call percentage, uncalled exports, and `? N unresolved` call groups. - `chomp export`: Export a static snapshot bundle of the map for CI artifacts or internal hosting. ## Running map plugins Run any shipped plugin from the terminal or CI, with optional `--json` output for scripts. **Run the Design system audit locally** ```bash npx @getchomp/cli plugin run design-system npx @getchomp/cli plugin run design-system --json ``` - `chomp plugin run design-system`: Audit design tokens, WCAG contrast pairs, hardcoded literals, arbitrary Tailwind values, and duplicate UI components. - `chomp plugin run local-shims`: Apply your repo's Bridges definitions to link dynamic calls, DI containers, or OpenAPI specs. - `chomp plugin run enrich-nodes`: Check and hydrate plain-English Summaries overlays and detect stale descriptions. --- # MCP tool reference When Chomp is connected via MCP, your coding agent queries the exact same local map you see in your browser—replacing blind file-by-file `grep` loops with structural facts. ## Navigation, blast radius & diffs The core map-first loop: locate nodes first, inspect blast radius before editing, and verify the structural diff before committing. - `chomp_get_nodes`: Find functions, routes, classes, components, and external calls by name, package, or file path. Always the agent's first lookup before reading files. - `chomp_get_edges`: Trace incoming callers and outgoing calls for any node or package. - `chomp_get_blast_radius`: Compute everything that depends on a function, class, route, or package: upstream callers, downstream calls, external calls, affected entry points, and input/output types. - `chomp_get_diff`: Compare pending working-tree changes against the saved map (`+ADDED`, `~MOD`, `-REM`) to verify the exact structural impact before committing. ## Architecture health & hygiene - `chomp_audit_health`: Surface blind spots across the map: `? N unresolved` call groups, uncalled exports, and per-package health. - `chomp_find_redundancies`: Detect pass-through wrapper middlemen and duplicated execution flows. - `chomp_check_boundaries`: Inspect cross-package dependencies, layer direction, and circular package imports. - `chomp_get_conventions`: List built-in framework conventions and the `chomp.config.json` reference. Works even before the first analysis. ## Agent spotlight & map plugins - `chomp_create_view`: Agent spotlight: highlight nodes or an ordered step-by-step path on Chomp Map and return a one-click link to that view. - `chomp_local_shims`: Bridges plugin: connect unresolved dynamic calls, dependency injection, event buses, or OpenAPI specs onto the map. - `chomp_enrich_nodes`: Summaries plugin: attach plain-English names and summaries to nodes, automatically flagged stale when code changes. - `chomp_audit_design_system`: Design system plugin: audit tokens, contrast, hardcoded values, and duplicate UI components before writing UI code. - `chomp_diff_design_system`: Design system plugin: compare current changes against the pinned design-system baseline. ## Prompts that work well **Pre-edit impact check** ```text Before editing Button, run chomp_get_blast_radius to see every caller and page affected. ``` **Visual walkthrough in Chomp Map** ```text Trace how our Stripe webhook reaches the database and spotlight the steps on Chomp Map. ``` **Pre-commit verification** ```text Run chomp_get_diff and chomp_audit_design_system to verify my changes didn't introduce hardcoded colors or duplicate components. ``` --- # What Chomp covers today Proven from code, never guessed. Every box and line on Chomp Map links back to an exact file and line—explore every framework rule Chomp maps today alongside the known gaps we track openly. Snapshot: Chomp extractor `v0.2.42` (`05a27b5`) · 70 mapped patterns · 10 known gaps · published Nov 24, 2026. Machine-readable JSON: https://getchomp.dev/coverage.json ## Stacks at a glance | Stack | Tier | Versions | Mapped | Known gaps | | :--- | :--- | :--- | ---: | ---: | | TypeScript & JS | Built-in | — | 16 | 4 | | Next.js | Built-in | >=13.4 | 10 | 1 | | React | Built-in | — | 5 | 0 | | Express | Built-in | — | 11 | 2 | | Drizzle | Built-in | — | 4 | 1 | | Payload | Built-in | — | 16 | 0 | | Astro | Built-in | >=2.0 | 2 | 0 | | SvelteKit | Built-in | >=1.0 | 5 | 0 | | MCP | Built-in | — | 1 | 0 | | NestJS | TS/JS base | — | 0 | 1 | | React Router | TS/JS base | — | 0 | 1 | ## Mapped today (70) - **Exported functions, arrows & deferred exports** (TypeScript & JS · Function): Maps exported function declarations, arrow/const functions, callable object-literal exports, and trailing `export { fn }` clauses. - **Classes, public methods, getters & inheritance** (TypeScript & JS · Class): Extracts classes, public methods, static helpers, `get` accessors, `extends` inheritance chains, and `new Class()` instantiation links. - **Factory returns, chained calls & typed parameters** (TypeScript & JS · Connection): Traces calls on factory-returned instances (`createService().run()`), fluent builder chains, `ReturnType` types, and interface sub-properties. - **First-class callbacks & dispatch tables** (TypeScript & JS · Connection): Connects functions passed by reference into callbacks (`items.map(fn)`, `.then(fn)`) and object/map handler dispatch tables. - **ESM imports, barrels & tsconfig path aliases** (TypeScript & JS · Connection): Resolves cross-workspace imports, `.js` to `.ts` aliases, multi-hop barrel re-exports, and `tsconfig.json` `paths` / `baseUrl` aliases without `tsc`. - **External HTTP, database & system I/O exits** (TypeScript & JS · External call): Detects `fetch`, HTTP clients, database drivers, `node:fs` mutations, `node:child_process`, WebSockets, and stitches internal `fetch("/api/...")` calls to matching routes. - **Honest dynamic execution markers** (TypeScript & JS · External call): Marks non-literal `await import(dynamicPath)`, `eval()`, and unprovable dynamic calls as `? unresolved` instead of guessing a link. - **Input & output type signatures** (TypeScript & JS · Schema): Records syntactically present parameter types, return types, and Zod validator schemas directly onto mapped nodes. - **Route handler** (Next.js · Route): An exported HTTP-method function (or `export const { GET, POST } = handlers`) in `app/**/route.` is an HTTP endpoint. - **Page** (Next.js · Page): The default-exported function of `app/**/page.` is the page for its route. - **Layout** (Next.js · Layout): The default-exported function of `app/**/layout.` is the layout for its route segment. - **Lifecycle export** (Next.js · Page): An exported `generateMetadata` or `generateStaticParams` function/const in `app/**/{page,layout}.` is a Next.js App Router lifecycle entry point. - **Middleware** (Next.js · Middleware): `export { X as middleware }` or a default-exported function in `middleware.` is the request middleware. - **Route segment config** (Next.js · Route): An exported route segment config constant (`dynamic`, `revalidate`, `runtime`, ...). - **Metadata** (Next.js · Config): `export const metadata = { ... }` declares the segment metadata. - **Cache invalidation** (Next.js · External call): A call to `revalidatePath()` / `revalidateTag()` reaches beyond the code: the Next.js data cache. - **Server action** (Next.js · Server action): An exported function under a file-level or function-level 'use server' directive is a Server Action: callable from the client, executed on the server. - **Dynamic component render** (Next.js · Connection): A JSX element whose tag is bound via Next.js `dynamic(() => import(...))` renders the target component. - **HOC wrapped component** (React · Function): `export const X = memo(fn)` / `React.forwardRef(fn)` (also nested) exports a component. The exported constant is the node, and calls inside the wrapped function belong to it. - **Imported component render** (React · Connection): A JSX element whose Capitalized tag is statically imported from a local module renders that module’s exported component. - **Dynamic component render** (React · Connection): A JSX element whose tag is bound via `React.lazy(() => import(...))` / `lazy(() => import(...))` renders the target component. - **Same file component render** (React · Connection): A JSX element whose tag names a function or wrapped component exported from the same source file renders it, with no import to prove it. A tag with no proven same-file export yields no edge. - **Namespaced component render** (React · Connection): A JSX property-access element (``) renders the proven target component via namespace import, compound object, or same-file export. - **Route** (Express · Route): An Express route registration (`app.get(path, handler)`, `router.post(path, handler)`, `app.route(path)`) is an HTTP route. - **Middleware** (Express · Middleware): `app.use([path], middleware)` registers a request-intercepting middleware. - **Route parameter** (Express · Route): `app.param(name, callback)` / `router.param([names], callback)` registers a route parameter handler. - **Content negotiation** (Express · Route): `res.format({ ... })` declares an Accept-header content negotiation branch table. - **App listen** (Express · External call): `app.listen(...)` / `server.listen(...)` opens a network listener. - **Response cookie** (Express · External call): `res.cookie(name, ...)` / `res.clearCookie(name)` mutates client response cookies. - **Dynamic methods** (Express · Route): `methods.forEach(...)` dynamically attaches HTTP verb methods onto the Express application/router prototype. - **Use middleware** (Express · Connection): `app.use([pathPrefix], middleware)` mounts a middleware to intercept requests under `pathPrefix`. - **Router mount** (Express · Connection): `app.use([pathPrefix], router)` mounts a sub-router module under `pathPrefix`. - **Route middleware** (Express · Connection): Intermediate arguments in `app.(path, mw1, ..., handler)` intercept requests on that route. - **Route handler** (Express · Connection): A referenced final argument in `app.(path, ..., handler)` binds the route to that handler node. - **Tool** (MCP · Tool): `server.tool(name, ..., handler)` declares an MCP tool endpoint node and emits a registration link from the enclosing scope. - **Schema** (Drizzle · Schema): A variable initialized with `pgTable` / `mysqlTable` / `sqliteTable` / `pgEnum` declares a Drizzle database schema node. - **Query chain** (Drizzle · External call): The topmost call of a `db.select/insert/update/delete/execute/transaction` fluent chain or `db.query..findFirst/findMany` relational query is a database query connector, paired with a read/write link when a schema table is referenced. - **Collection config** (Payload · Schema): `const X: CollectionConfig = { ... }` declares a Payload collection node. - **Global config** (Payload · Schema): `const X: GlobalConfig = { ... }` declares a Payload global node. - **Block** (Payload · Function): `const X: Block = { ... }` declares a Payload content block node. - **Task** (Payload · Function): `const X: TaskConfig = { ... }` declares a Payload background job task node. - **Fields** (Payload · Function): `fields: [...]` inside a Payload config declares its schema fields node. - **Endpoints** (Payload · Route): `endpoints: [...]` inside a Payload config declares custom REST endpoints. - **Access** (Payload · Function): `access: { ... }` inside a Payload config declares its access control rule. - **Transaction** (Payload · External call): Calls to `initTransaction` / `commitTransaction` / `rollbackTransaction` / `killTransaction`. - **DB adapter operation** (Payload · External call): Direct `payload.db.({ collection })` adapter operation, paired with a read/write schema link. - **Job dispatch** (Payload · External call): `payload.jobs.queue(...)` / `req.payload.jobs.queue(...)` dispatches a background job. - **Local API call** (Payload · External call): `payload.({ collection | global })` local API call, paired with a read/write schema link. - **Mongoose operation** (Payload · External call): `Model.(...)` Mongoose model operation inside Payload. - **Hook registration** (Payload · Connection): Hook array registration (`beforeChange: [fn]`, `afterRead: [fn]`, ...). - **Config registry collection** (Payload · Connection): `buildConfig({ collections: [Posts] })` mounts collections into the Payload config. - **Config registry global** (Payload · Connection): `buildConfig({ globals: [Header] })` mounts globals into the Payload config. - **Plugin registration** (Payload · Connection): `buildConfig({ plugins: [seoPlugin(...)] })` registers Payload plugins. - **Lifecycle export** (Astro · Function): An exported `getStaticPaths` function or constant in `pages/**` / `src/pages/**` is an Astro static route lifecycle entry point. - **Endpoint handler** (Astro · Route): An exported uppercase HTTP-method handler (`GET`, `POST`, ..., `ALL`) in an Astro endpoint under `pages/**` / `src/pages/**` is an HTTP endpoint. - **Load** (SvelteKit · Function): An exported `load` function or constant in `routes/**/+page.server.` or `routes/**/+page.` is a SvelteKit route data loader. - **Layout load** (SvelteKit · Function): An exported `load` function or constant in `routes/**/+layout.server.` or `routes/**/+layout.` is a SvelteKit layout data loader. - **Actions** (SvelteKit · Server action): An exported `actions` object in `routes/**/+page.server.` defines SvelteKit form actions for that route. - **Server endpoint** (SvelteKit · Route): An exported HTTP-method (`GET`, `POST`, ..., `fallback`) handler in `routes/**/+server.` is a SvelteKit server endpoint. - **Hooks** (SvelteKit · Middleware): An exported SvelteKit hook (`handle`, `handleFetch`, `handleError`, `init`, `reroute`, `transport`) in `hooks.server.`, `hooks.client.`, or `src/hooks.` is a framework request middleware. - **Server only guard** (TypeScript & JS · Function): Bare side-effect import 'server-only' asserting a server-bundle boundary. - **Define property getter** (TypeScript & JS · Function): Object.defineProperty(obj, name, ...) or defineGetter(obj, name, ...) property getter. - **NextAuth factory destructure** (TypeScript & JS · Function): Exported NextAuth(...) factory assignment or destructured auth interface exports. - **Drizzle exported validator** (Drizzle · Schema): Exported Drizzle-Zod validator schema (createInsertSchema / createSelectSchema). - **Drizzle namespaced table schema** (Drizzle · Schema): Exported property-access pgTable schema (e.g. schema.pgTable(...)). - **Zod exported validator** (TypeScript & JS · Schema): Exported Zod validator schema (z.object / z.discriminatedUnion). - **CommonJS prototype method** (TypeScript & JS · Function): Prototype method assignment (Class.prototype.method = function() {}). - **CommonJS export alias** (TypeScript & JS · Function): CommonJS aliased export assignment (alias.method = function() {}). - **CommonJS dynamic method** (TypeScript & JS · Method): Dynamic element-access CommonJS method assignment (app[method] = function() {}). - **CommonJS export** (TypeScript & JS · Function): CommonJS module.exports / exports. export. ## Known gaps (10) - **Same-file Drizzle table passed into Zod schema helpers** (Drizzle · Connection): Passing a same-file Drizzle table into a schema generator (`createSelectSchema(table)`) does not yet emit a reference link between them. - **Controller classes passed in server options arrays** (Express · Connection): Controller classes registered via a server options array (`controllers: [UsersController]`) are not yet linked to the server factory. - **Loop-mounted Express router descriptor tables** (Express · Connection): Routers instantiated and mounted dynamically inside an array loop (`routes.forEach(...)`) are marked `? unresolved`. - **NestJS @Module providers & guard decorators** (NestJS · Connection): Classes wired through NestJS `@Module` providers/exports arrays or `@UseGuards` / `@UseInterceptors` decorators are not yet linked automatically. - **JSX anchor and image links to internal API routes** (Next.js · Connection): JSX `` and `` attributes targeting local Next.js API routes are not yet linked as frontend-to-backend edges. - **React Router LoaderArgs.context injections** (React Router · Connection): Method calls invoked through React Router `LoaderArgs.context` injected by `getLoadContext` are marked `? unresolved` until bridged. - **Computed key lookups on imported factory maps** (TypeScript & JS · Connection): Dynamic bracket lookups on imported factory registries (`factories[kind].run()`) cannot be proved statically and are marked `? unresolved`. - **Top-level dynamic await import() module entry points** (TypeScript & JS · Connection): Top-level `await import("./server/index")` bootstrap calls are marked as dynamic exits rather than resolving to the target module default export. - **Imported functions spread into exported config arrays or maps** (TypeScript & JS · Connection): Imported functions placed inside exported config objects or spread arrays (`export const config = [...base]`) do not yet emit usage links. - **Methods passed as callbacks into new Constructor(...)** (TypeScript & JS · Connection): Methods passed as callback arguments into class constructors (`new Strategy(opts, AuthService.verify)`) are not yet linked automatically. ## What “? N unresolved” means Where code is too dynamic for static analysis to prove, Chomp marks `? N unresolved` instead of faking a connection and groups similar calls by shape. You can inspect the exact line in Chomp Map or wire custom wrappers, dependency injection, and event buses locally with the Bridges plugin (`chomp_local_shims`). ## Missing a framework or internal wrapper? Connect proprietary wrappers or custom DI locally today with the Bridges plugin—or work with us through Founding Teams for custom framework rules tailored to your stack. [Founding teams](https://getchomp.dev/teams) --- # Explore real public codebases on Chomp. Browse whitelisted public repos—each opens directly in Chomp Map with full System and Package views unlocked, no login required. > Whitelisted public map links and screenshots are being published now. Cards marked “Preview pending” will open directly in Chomp Map once live—until then, run Chomp locally on any repo below. ## Showcase repositories - **chomp** (Monorepo · CLI + MCP + Web — TypeScript, Node.js, Next.js, MCP, SQLite): Chomp mapping its own monorepo—cross-package calls from CLI and MCP tools down to SQLite and the web visualizer. — Whitelisted map link coming soon - **nextjs/saas-starter** (Full-stack SaaS — Next.js, React, Drizzle, Stripe): App Router pages, server actions, Drizzle queries, and Stripe billing exits mapped end-to-end. — Whitelisted map link coming soon - **openstatusHQ/data-table-filters** (Web app + MCP registry — Next.js, React, Drizzle, MCP): A dense multi-package Next.js app with shared UI components, data hooks, and an MCP registry. — Whitelisted map link coming soon - **payloadcms/website** (CMS + frontend monorepo — Next.js, React, Payload CMS): Production marketing and docs site showing Payload CMS collections wired into Next.js pages and preview runtimes. — Whitelisted map link coming soon - **w3cj/hono-open-api-starter** (Typed REST API — TypeScript, Hono, Drizzle, SQLite): Clean API routing, request validation middleware, handlers, and database calls in a focused backend service. — Whitelisted map link coming soon - **getchomp.dev** (Single-package web app — Next.js, React, Tailwind CSS): This marketing site itself—a single-package app showcasing clean component boundaries and Design system checks. — Whitelisted map link coming soon ## Want to see your codebase instead? Run one command locally on 127.0.0.1. Full System view plus your primary package in Live Preview—no account and zero source code uploaded. ```bash npx @getchomp/cli init && npx @getchomp/cli ui ``` ## Whitelisted demos vs. local Live Preview - Public showcase repos on this page are whitelisted so anyone can explore every Package view with no sign-in. - On your own repo, Live Preview opens the full System view plus 1 primary package (up to 25 nodes) with no login; signing in with GitHub unlocks every package. - Zero source code ever leaves 127.0.0.1—only anonymized shapes go to api.getchomp.dev to compute coordinates. --- # Chomp Cloud, founding teams, and working with us. Chomp is free to run locally on 127.0.0.1 anytime. Join the open waitlist for Chomp Cloud, or tell us about your codebase if you want direct founder onboarding or hands-on architecture and design-system work. ## Chomp Cloud waitlist (Open waitlist • no vetting) For solo builders and teams who want hosted multi-repo maps, shared team views, and pull-request guardrails when Cloud opens. - Cross-repository System view linking external HTTP, event, and SDK calls across repos. - Shared team views, org-wide Design system baselines, and saved map walkthroughs. - CI boundary and design-token checks before changes merge. - Zero source code uploaded—your repo stays local; only anonymized shapes and metadata sync. ## Founding teams (5 teams • direct founder onboarding) One shared map for your engineers, designers, PMs, and coding agents—onboarded directly with Chomp's creator. - Unlimited seats across all your TypeScript and JavaScript repos. - 48-hour custom pattern turnaround for anything Chomp marks ? unresolved in your stack. - Shared Design system baselines and CI boundary & token gates. - Direct channel with the founder to shape what ships next. ## Architecture & Design System Studio (2–3 active teams • hands-on with the founder) **Shipped 100k lines of AI code and every PR breaks three things?** Work directly with Chomp's creator (10+ years in Staff Product Design and systems architecture) to untangle AI-built codebases, lock down your design tokens, and wire automated guardrails around your coding agents. Includes Founding Team access. - 2-week diagnostic sprint — full map, architecture untangling plan, and design-system audit. - Ongoing fractional partnership — hands-on systems architecture and design-system governance. ## Small on purpose, open to hear from anyone. We're vetting teams for Founding Teams and Studio slots right now—not to be precious about it, just because one person does the onboarding and writes the custom rules. - **Real bandwidth, not a waitlist stunt.** Every founding team gets direct onboarding, custom rules for their stack's ? unresolved calls, and fast turnaround. Keeping the first group small is how we actually follow through. - **Fit over company size.** We're looking for TypeScript and JavaScript teams actively shipping with AI coding agents where a live map solves real pain today—whether you're 4 people or 40. - **Raise your hand either way.** Not sure which option fits, or just want Chomp Cloud when it opens? Drop a note anyway. Seeing real stacks and pain points directly guides what we build next, and you'll stay first in line for Cloud. ## Join the waitlist or tell us about your team Work email is all we need for the Cloud waitlist. Add a few lines about your stack if you're interested in Founding Teams or Studio—we reply within 24 hours. Options: Chomp Cloud waitlist · Founding team access · Architecture & Design System Studio.