floorplan is a free, open source frameworks & platforms project written in JavaScript and released under MIT. It has 7,439 GitHub stars, 687 forks and 104 open issues, and was last pushed 16 days ago. On this registry it ranks #60 of 150 tracked projects in Frameworks & Platforms, with 5 head-to-head comparisons available.

What is floorplan?

Floorplan is an MIT-licensed JavaScript plugin for Claude Code and Codex that has those agents read a codebase and draw an interactive, plain-English map of it, aimed at people who build software with AI assistance and want to understand what they made without reading the code.

What it is

Floorplan lives in the Claude Code and Codex plugin ecosystem. Rather than rendering a diagram from a written description, it asks Claude or Codex to read the codebase and produce a zoomable map in which every part, file and web request receives a plain-English name and every connection between them is shown. The project is written in JavaScript, is published at version 0.11.0, requires Node 18 or later, and advertises zero dependencies.

The problem it solves is the one that follows a fast build. An app gets made, often with heavy help from AI, and it works, but ask what happens when someone checks out or what breaks if a particular part changes, and the honest answer is that nobody knows. Floorplan supplies the diagram nobody drew: the structure of the app, the requests between frontend and backend including across repositories, and the outside services it depends on. It replaces reconstructing that architecture by hand from the source.

Key capabilities

  • Draws a zoomable map of the whole app: its parts, files and endpoints, the screens, the requests between frontend and backend even across repos, and outside services.
  • Names every part, file and web request in plain English and shows each connection between them.
  • Runs a Health check for keys in code, open Supabase tables and Firebase rules, fakeable Stripe webhooks, and endpoints anyone can use.
  • Shows Recent work — what the AI just changed, and why — so agent edits can be reviewed rather than guessed at.
  • Builds blueprints from a PRD, turning a written description into a map.
  • Ships as a Claude Code plugin and a Codex plugin, with Codex-specific instructions in docs/codex.md.
  • Installs with zero dependencies on Node 18 or later.

Who uses it and how

  • Builders who made an app with substantial AI assistance use it to understand what they built, in their own words, without reading the code.
  • Teams use it for onboarding, starting a new colleague at the big picture and letting them descend to the exact file.
  • People working alongside Claude Code or Codex consult it after each change to see which parts the agent touched and why.
  • Projects spread across repositories fit the cross-repo request view; the walkthrough tours Brewline, a demo coffee-subscription app built across four repos.
  • Prospective users can explore the Brewline map in the hosted live demo before installing anything.

Getting started

Floorplan is installed as a plugin into Claude Code or Codex, following the repository's Install and Quick start sections, with Codex-specific steps documented in docs/codex.md and Node 18 or later required. A hosted live demo at haydenschmitty.github.io/floorplan-demo lets you explore the Brewline map in a browser with no install at all.

How it compares

The README places Floorplan alongside two similar tools, Archify and Understand Anything; all three turn code into something you can see, but they answer different questions. Archify is presented as the choice for a polished diagram in one of 10 diagram types, and Understand Anything for studying a large codebase function by function through a knowledge graph. Floorplan is positioned for the narrower question of how an app you own actually works and what to worry about, which is why its distinguishing features are the Health check and Recent work rather than export formats or function-level detail.

When to use it — and when not to

There is no server to operate: Floorplan is a zero-dependency plugin that runs inside an agent you already have, so no database, storage or SMTP enters the picture. The caveat is that the map is drawn by the model reading your code, so what you get tracks how well the agent reads the repository, and at version 0.11.0 the project is still pre-1.0. Anyone who needs a function-by-function study of a large unfamiliar codebase should choose Understand Anything instead, which is what the project's own comparison recommends.

project readme (upstream, from github) — read inline

Floorplan

See how your app actually fits together.

Claude or Codex reads your codebase and draws an interactive map of it. Every part, file and web request gets a plain-English name, and every connection between them is shown.

Claude Code plugin Codex plugin Tests Version License: MIT Node 18+ Zero dependencies

Floorplan on Trendshift

Try the live demo · Watch the video · Install · Quick start · Compared · Features · See it in action · How it works · Docs · FAQ

▶ Watch the walkthrough: installing Floorplan, then a tour of Brewline, a demo coffee-subscription app built across four repos.

Try the live demo → Explore the Brewline map in your browser, no install needed.

Why Floorplan?

You built an app, probably with a lot of help from AI, and it works. But ask "what happens when someone checks out?" or "what breaks if I change this?" and the honest answer is no idea.

Floorplan gives you the diagram nobody drew. Ask Claude Code or Codex for a floorplan and a few minutes later you have a map you can explore, ask questions on, and keep up to date as you work.

  • For builders: understand the app you made, in your own words, without reading the code.
  • For teams: onboard someone in minutes, from the big picture down to the exact file.
  • For working with AI: after every change Claude or Codex makes, see exactly which parts it touched and why.

Floorplan, Archify or Understand Anything?

All three turn code into something you can see, and all three are worth knowing. They answer different questions:

Floorplan Archify Understand Anything
The question it answers How does the app I built actually work, and what should I worry about? How do I show this clearly? How does this big codebase work, down to the functions?
Made for People who build with AI and don't read the code Anyone explaining a system, a process or an idea Developers getting to know a large codebase
What you get A zoomable map of your whole app: parts, files and endpoints, the screens, the requests between frontend and backend (even across repos), and outside services A polished diagram in one of 10 types (architecture, sequence, ERD…) or a one-page explainer, from a repo or just a description A knowledge graph of every file, function and class, with layers, a business-domain view and guided tours
Only here Health check (keys in code, open Supabase tables and Firebase rules, fakeable Stripe webhooks, endpoints anyone can use), Recent work (what your AI just changed, and why), blueprints from a PRD 10 diagram types, image and video exports, diagrams of things that aren't code Diff impact, a dashboard that adapts to your role, knowledge-base graphs
Runs in Claude Code, Codex Claude Code, Codex, Cursor, OpenCode and more Claude Code, Codex, Cursor, Copilot, Gemini CLI and more

Pick Floorplan to understand and check an app you own. Pick Archify to draw a diagram for a doc, a talk or a decision. Pick Understand Anything to study a large codebase function by function.

They also work together: map your app with Floorplan, then use Archify to draw one flow for a presentation.

Features

🗺️ A map at every zoom
Start with the whole app, then double-click into a part, a group of files, a file, and its endpoints. Each view shows what it's used by and what it uses.

💬 Plain English everywhere
"Takes card payments at checkout", not "Stripe API wrapper". Technical terms are explained on hover, and one switch shows the developer view.

🔌 Real connections, across repos
It follows imports, and matches each web request in your frontend to the server endpoint that answers it, even across separate repos.

🖥️ Start from a screen
Pick a page you know and see everything behind it: its parts, the requests it makes, the server code, the data, and outside services.

🧭 Ask the map
"How does a refund reach the customer's card?" comes back as an answer plus a mini-map of just the pieces involved, with a step-by-step walkthrough.

🩺 Health check
Catches the classic mistakes in AI-built apps: keys in the code or sent to the browser, Supabase tables anyone can read, open Firebase rules, Stripe webhooks anyone could fake, and endpoints with no sign-in. Each comes with a ready-to-paste fix. A check, not an audit.

🟢 Recent work
The cards your AI just changed light up green, each with a note on how the change serves what you asked for.

⚡ Stays current, stays yours
Updates re-read only what changed, and an open map reloads itself. Everything runs on your machine, and nothing is committed to git.

Plus guided flows you can request in plain words, a one-minute Start here tour, Export to send a copy to anyone as one HTML file, a layout for phones and tablets with drag and pinch, search, keyboard shortcuts, and right-click actions on every card.

Also: blueprints, for apps you haven't built yet

Floorplan is made for mapping code you already have. It can also start from a PRD, a spec or a description of something you want to build, and draw a blueprint: the same kind of map, showing every part, file, endpoint and screen you'd need and how they'd fit together. Cards are dashed to show it's a plan. Instead of a Health check you get a review of what the plan still leaves open, each part has a ready request to build it, and you can reshape the plan from the map ("also plan out refunds"). Once the code exists, the blueprint becomes a map of the real thing. See Plan something you haven't built yet.

See it in action

Want to click around yourself? Open the live demo: the real Brewline map beside a scripted conversation, in Claude Code or Codex.

Ask the map. A real answer, from the Claude Code CLI in 31 seconds. It traced the gift from form to inbox across two repos, and spotted two bugs along the way.

Start from a screen. Pick any page and see everything behind it, from the button down to the database and outside services.

Recent work. What you asked for, what changed, and why each change was needed, on one board.

Health check. A password left in the code and an endpoint anyone can call, each with a one-click fix prompt.

Zoom in. Inside any part: what's in it, what uses it, and what it relies on. Green tags mark what just changed.

Guided flows. Watch a request travel through the app step by step, or ask for a new one to be traced.

Install

You need Node.js 18+ and either Claude Code or Codex. Floorplan runs on the plan you already have, with no API keys.

Claude Code

In the desktop app's Code tab or the CLI:

claude plugin marketplace add haydenschmitty/floorplan
claude plugin install floorplan@floorplan

Start a new session and it's ready. Installing the Claude Code CLI is recommended even if you use the desktop app, because it lets the map's Ask bar read your real code. More in Getting started.

Codex

Signed in with ChatGPT. No terminal needed:

  1. In the Codex app, open Plugins and choose Add a marketplace.
  2. For Source, enter haydenschmitty/floorplan and click Add marketplace.
  3. Find Floorplan and click + to install it.

Or, from a terminal:

codex plugin marketplace add haydenschmitty/floorplan
codex plugin add floorplan@floorplan

Start a new chat and ask for a floorplan, or type $floorplan. The map's Ask bar runs on your own Codex sign-in, with no API key. More in Floorplan in Codex.

Quick start

  1. Open your project in Claude Code or Codex. For a frontend and backend in separate repos, open the folder that holds both.

  2. Ask:

    Make me a floorplan of this app.

    (In Codex you can also type $floorplan.)

  3. Explore. The map opens on its own, starting with a short tour.

When you've done more work, ask:

Update the floorplan.

Only what changed is re-read, and what you just worked on lights up under Recent work.

No code yet? Floorplan can plan an app from a PRD or spec instead. Share the document and ask:

Here's my PRD. Make me a floorplan of what we'd need to build.

You get a blueprint of the planned system, clearly marked as a plan.

Things to try

Ask Claude Code or Codex Ask the map
"Make me a floorplan of this app" "What happens when someone places an order?"
"Update the floorplan" "Where do we talk to Stripe?"
"Fix the important issues from the floorplan's Health check" "If I change the users table, what breaks?"
"Add a flow showing how a new user signs up" "Which files handle login?"
"Rewrite the floorplan for developers" "What did we change for refunds?"
"Export the floorplan so I can send it to the team"

How it works

flowchart LR
    code["Your codebase<br/>one repo or several"] --> scan["Scan<br/>files, imports, routes, requests"]
    scan --> agent["Claude or Codex<br/>names the parts, describes every file"]
    agent --> build["Build<br/>map, health, screens, recent work"]
    build --> map["floorplan/index.html<br/>opens in your browser"]
    map -. "update the floorplan" .-> scan

Scripts do the mechanical work: finding repos, parsing code in a dozen languages, matching web requests to endpoints, laying out the map. They're plain Node with no dependencies. Claude or Codex does the part only a reader can: deciding what the parts of your app are, and saying so plainly. Details in How it works.

Languages: TypeScript, JavaScript, Python, Go, Rust, Java, Kotlin, Scala, Swift, C#, PHP, plus Vue, Svelte and Astro files and Shopify themes (Liquid), with lighter support for others.
Endpoints: Express, Fastify, Koa, Hono, NestJS, Next.js, Firebase Cloud Functions, Supabase Edge Functions, Flask, FastAPI, Django, Go's net/http, Gin, Echo and chi, Actix, Axum, Spring, ASP.NET Core, Laravel (with Wayfinder calls), Serverless Framework (serverless.yml), Bun.serve routes, and route tables keyed by method and path ("GET /api/orders": listOrders) in JavaScript and Python, or listed as { method, path, handle } in JavaScript.
Screens: Next.js, React Router, Vue, SvelteKit, Remix, Nuxt, Astro, Expo, Angular, TanStack, Shopify themes, Inertia.

What it adds to your project

A floorplan/ folder holding the map. In Claude Code, if you say yes, it also adds a short section to CLAUDE.local.md so future sessions know the map is there. Neither is committed: the folder ignores itself in git, and CLAUDE.local.md goes in your clone's private ignore list. In Codex, only the floorplan/ folder is added. Your .gitignore and other tracked files are never touched. See What's in your project.

Privacy

  • The scan, the map and its small local server all run on your computer. The server only accepts connections from your own machine.
  • No dependencies or install scripts, and the map works offline: its layout engine and fonts are built in.
  • Questions on the map go to your own account, through the Claude Code CLI or Codex, which can read your code but not change it.
  • The Health check never stores or shows secret values, only where they are.
  • No analytics or tracking. The map may ask once whether you'd like an email when Floorplan Cloud launches. Nothing is sent unless you sign up, and then only your email and "just me" or "with my team".

More in Privacy and security. Wondering whether a plugin is safe to install? Is it safe to install? lists everything Floorplan does on your computer, how a test checks that on every change, and how to verify your copy.

Documentation

Getting started Install, first map, updating, planning from a PRD, removing
Floorplan in Codex Installing and using it in Codex
Using the map Every button, view, shortcut and menu
How it works The pipeline, connection matching, refreshes
What's in your project Every file Floorplan creates, and how to edit it
Privacy and security What runs where, and what leaves your machine
Is it safe to install? No hooks, MCP servers, dependencies or downloads; every program it runs; checking your installed copy
Troubleshooting Common problems and fixes
Running without an agent session In CI, in scripts or from your own tooling, with any model
Developing Floorplan Repo layout, local installs, releases

FAQ

Is it safe to install?

Floorplan has no hooks, no MCP servers and no dependencies, downloads nothing, and never runs code from the internet. Its only outside request is the opt-in waitlist. A test checks all of that on every change, and every release lists a fingerprint of each file so you can confirm your installed copy is the real thing. Everything is in Is it safe to install?.

Does my code leave my computer?

Only the way Claude Code and Codex always work: the AI reads the files it needs to describe your app, through your own account. The map itself is a local file and its server only listens on your machine. If you choose to open the map in the Claude app instead, Claude uploads the map (names, descriptions and structure, not your source code) to your private claude.ai account, and asks first. The one thing Floorplan itself ever sends is your email, and only if you sign up for the Floorplan Cloud waitlist.

How long does it take, and what does it cost?

A first map takes a few minutes for a small app and longer for a big one, because every file and endpoint gets described. It uses your Claude or ChatGPT plan like any other task. Big projects are split across parallel helpers. Updates re-read only what changed, so they're quick and cheap.

Do I need a CLI for the Ask bar?

No. The map works without one. The Ask bar answers through the Claude Code CLI or Codex, which can read your real code. Codex's desktop app already includes what it needs. With Claude, without the CLI you can ask from the Claude app instead, using the map alone.

Will it change or commit my files?

It only writes its own floorplan/ folder (and, in Claude Code if you say yes, a section in CLAUDE.local.md), and neither is committed. It never changes your code, your .gitignore or your CLAUDE.md.

The names it picked aren't how we talk about it. Can I change them?

Yes. Just ask ("rename 'Main server' to 'Shop API' on the floorplan"), or edit floorplan/architecture.json and floorplan/descriptions/ yourself. Your edits are kept on every update.

Does it work with Codex as well as Claude Code?

Yes. It's the same plugin, the same map and the same Health check. Each app runs it on your own plan: Claude Code on your Claude account, Codex on your ChatGPT sign-in. A map made in one opens fine with the other. See Floorplan in Codex.

Can I use it before I've written any code?

Yes, though mapping existing code is what it's mainly for. Share a PRD, a spec or a description of your app and ask for a floorplan, and you get a blueprint: a map of what you'd need to build, marked as a plan, with a review of the decisions still open. You can change it from the map, then switch to a map of the real code once it's built. See Plan something you haven't built yet.

Does it work on monorepos and multi-repo setups?

Yes. Point it at a monorepo, a subfolder of one, or a plain folder that holds several repos side by side. It finds every repo and connects them.

How is this different from Archify or Understand Anything?

Archify draws diagrams of anything, and Understand Anything builds a developer's knowledge graph of a codebase. Floorplan maps the app you built, in plain English, and tells you what's risky and what your AI just changed. See Floorplan, Archify or Understand Anything?

Star history

Floorplan's GitHub stars over time

Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md and Developing Floorplan.

License

MIT © 2026 Hayden Smith

Frequently asked questions

Is floorplan free to use?

floorplan is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does floorplan do?

See how your app actually fits together. An interactive, plain-English map of your codebase, drawn by Claude or Codex.

What is floorplan written in?

floorplan is primarily written in JavaScript. Its source is publicly available at https://github.com/haydenschmitty/floorplan, and it has 7,439 GitHub stars.