CodeAtlas
Sign in
Static AST dependency maps for TypeScript & JavaScript

Paste a public repository. CodeAtlas parses its imports and draws what depends on what. The model explains what the parser found; it never decides what’s there.

Public GitHub repositories. Sign in, then analysis starts immediately.

acme/billing-api
MapRoutes4
Click any file row to trace incoming and outgoing imports
IncomingOutgoing
routes/2
services/2
lib/1
db/1

Inside the workspace

Built for reading unfamiliar codebases fast

Static routes, honest resolution stats, role filters, and grounded Q&A share one commit-pinned workspace.

Route index

Every provable endpoint, paired with its handler

Extracted directly from path conventions and controller decorators. If the method or path is dynamic, it stays out of the table.

MethodPathHandler file
  • POST/api/sessions/verifyapp/api/sessions/verify/route.ts
  • GET/api/workspaces/[slug]app/api/workspaces/[slug]/route.ts
  • PATCH/api/members/[id]/roleapp/api/members/[id]/role/route.ts
  • DELETE/api/tokens/[tokenId]app/api/tokens/[tokenId]/route.ts

Coverage

Nothing hidden behind the graph

imports resolved to files

0 resolved0 unresolved

Skipped binaries, ignored folders, and unresolved specifiers are surfaced in the workspace banner.

Focus controls

Peel away noise by role

Hide tests, configs, or any file kind with one click. Try toggling a layer below.

Grounded Ask

Ask the graph, jump straight to the file

Where are invite tokens rotated?

Rotation runs inside auth/tokens.ts and invalidates active sessions through store/sessions.ts.

Every citation is a parsed path from the current snapshot—click any chip to focus it on the map.

Reproducible snapshot

Pinned to an exact commit

Cached explanations track the commit SHA and flag automatically whenever a newer run lands.

a91d3f4main · 42 files
telemetry/6 in
workers/9 out
shared/14 in · 0 out

Interactive folding

What it draws

A folder becomes a box until you open it. Then its files appear as rows, and the edges move to the exact rows they touch. Select a file and its neighbours stay at full strength while everything else steps back.

Outgoing
Files this module imports directly
Incoming
Files that depend on this module
Background edge
Imports outside the selected file’s neighbourhood
services/ · expanded
routes/2 callers
lib/ & db/2 targets

Pipeline

How it works

A repository is fetched at one commit, parsed on disk, and stored before anything is drawn. Every stage can stop and say why.

  1. 01Immutable commit SHA

    Fetch

    Resolve the latest commit, download the archive at that commit, and record the exact SHA.

  2. 02Explicit coverage

    Select

    Keep TypeScript and JavaScript files. Anything skipped is counted, so the map never looks more complete than it is.

  3. 03TypeScript AST

    Parse

    Read imports, re-exports, dynamic imports and require() with the TypeScript parser. Each resolves to a file or is reported unresolved.

  4. 04Deterministic layout

    Fold

    Starting at the deepest folder, merge small ones into their parent until the map fits. The same source always produces the same picture.

  5. 05Grounded prose

    Explain

    The model reads a file and the real neighbours handed to it. It can explain and answer questions; it cannot invent an edge.

Adapters

Which repositories it understands

Detection runs in a fixed order and the first match wins. Framework knowledge lives in an adapter, never in the parser, so the graph still works when nothing matches.

01Routes & actions
Next.js
Page and API routes from path conventions; server actions from the “use server” directive.
02Decorators & suffixes
NestJS
Controllers, services, modules and entities from filename suffixes. Routes from controller and method decorators.
03Directory roles
Express
Roles from directory convention, singular or plural. No route table, because Express assembles routes at runtime.
04Hooks & JSX
React
Hooks from filenames, components from JSX, and tests and config from their paths.
05Universal fallback
Anything else
Generic roles and an empty route table. The map still draws every import the parser can resolve.

Boundaries

What it deliberately doesn’t do

A map that is nearly right is worse than no map, because you can’t tell which part is wrong. These are the lines it doesn’t cross.

Absent beats approximate.

Unresolved imports and unprovable routes are surfaced honestly instead of invented.

Ask a model what depends on what.

Every box and line comes from parsing. The model explains the result and never decides that two files are connected.

Guess a missing edge.

An import that doesn't resolve is reported as unresolved, never drawn as an approximation.

Show a route it can't prove.

A route appears only when its method and full path are both recovered from the source. Otherwise it's absent.

Grade your code.

No scores, severity badges or issue counts. This explains a codebase; it doesn't review one.

Start with a repository.

The map is drawn from the files at one commit. If an import doesn’t resolve, it’s counted, not guessed.

Public GitHub repositories. You’ll sign in, then it starts.