Repo map

Umami architecture.

Umami is a privacy-focused web analytics platform. Nodeway mapped the umami-software/umami repository at commit dbb8d60, from 23 November 2026, and found 1,266 source files, 2,149 functions, classes and components, 275 routes and 29 database tables. This page is drawn from that map.

Free to start. macOS (Apple silicon and Intel), Windows and Linux.
Source files
1,266
Functions and classes
2,149
Confirmed calls
4,478
Routes
275
Tables
29

How the code is laid out

Most of it is TypeScript: 1,245 files of 1,266, followed by JavaScript (18) and Shell (2).

The repository is split into 2 packages: folders with their own manifest, such as a package.json, pyproject.toml or go.mod. The largest are packages/mcp (33 files) and packages/api-client (7 files).

These are its top-level folders by number of source files, with 9 more files at the root. The biggest ones show their own largest folders underneath.

  • src/1,183 files275 routes
  • app/687 files275 routes
  • components/289 files
  • queries/101 files
  • lib/70 files
  • openapi/13 files
  • permissions/10 files
  • packages/40 files
  • mcp/package33 files
  • api-client/package7 files
  • scripts/30 files
  • seed/11 files
  • .eloqnt/1 file
  • docker/1 file
  • podman/1 file
  • prisma/1 file29 tables

Where the code starts

Nodeway looked for files that define a main function, and for files named like a starting point (main, server, app, cli and similar) that at most one other file imports, then for index files that nothing imports. Ranked that way, then by how many files each one reaches through its imports:

FileReaches
packages/mcp/src/cli.ts30 files
scripts/seed-data.tsdefines main11 files
scripts/test-api.tsdefines main–
src/index.ts304 files
src/queries/sql/index.ts87 files
src/components/svg/index.ts38 files

Routes

Nodeway found 275 routes, 64 of them pages, and linked 275 to the function that handles them. The rest by HTTP method: GET 126, POST 64, DELETE 17, OPTIONS 3, PATCH 1. All are under src/app (275).

Some of them

RouteMethod
/mcpDELETE · src/app/mcp/route.tsDELETE
/api/meGET · src/app/api/me/route.tsGET
/p/[slug]GET · src/app/(collect)/p/[slug]/route.tsGET
/q/[slug]GET · src/app/(collect)/q/[slug]/route.tsGET
/api/sendPOST · src/app/api/send/route.tsPOST
/api/batchPOST · src/app/api/batch/route.tsPOST
/api/linksGET · src/app/api/links/route.tsGET
/api/sharePOST · src/app/api/share/route.tsPOST

Data model

Nodeway found 29 database tables, defined with Prisma. Code in the repository reads or writes 29 of them. The most used:

TableUsed by
website12 columns · links to team and user · prisma/schema.prisma10 read8 write
team_user6 columns · links to team and user · prisma/schema.prisma7 read6 write
two_factor_auth6 columns · links to user · prisma/schema.prisma8 read5 write
share8 columns · prisma/schema.prisma4 read7 write
team8 columns · prisma/schema.prisma6 read5 write
board9 columns · links to team and user · prisma/schema.prisma3 read6 write
link9 columns · links to team and user · prisma/schema.prisma3 read5 write
pixel8 columns · links to team and user · prisma/schema.prisma3 read5 write

One request, traced

Nodeway followed GET /p/[slug] from its route to the code that handles it, then along confirmed calls until it reached the share table.

  1. GET /p/[slug]route · src/app/(collect)/p/[slug]/route.ts
  2. GETfunction · src/app/(collect)/p/[slug]/route.ts:12
  3. POSTfunction · src/app/api/send/route.ts:23
  4. fetchWebsitefunction · src/lib/load.ts:6
  5. getWebsitefunction · src/queries/prisma/website.ts:92
  6. attachShareIdToWebsitefunction · src/queries/prisma/website.ts:359
  7. sharetable · read here

The most-called code

Ranked by how many different functions call each one, counting only calls the analyzer could confirm from the code. These are often the helpers worth reading first.

FunctionCallers
useMessageshook · src/components/hooks/useMessages.ts295
parseRequestfunction · src/lib/request.ts192
jsonfunction · src/lib/response.ts179
unauthorizedfunction · src/lib/response.ts164
defineOperationfunction · src/openapi/operation.ts135
useNavigationhook · src/components/hooks/useNavigation.ts102
useApihook · src/components/hooks/useApi.ts94
runQueryfunction · src/lib/db.ts78

Open this repo in Nodeway

Nodeway is a desktop app that draws this map on your own computer, so you can click into any folder, read the code beside the map and trace a request yourself. Clone the repository:

git clone https://github.com/umami-software/umami.git
  • Install Nodeway for macOS, Windows or Linux: the getting started guide has every installer.
  • Open the cloned folder. The first map is drawn on your machine and nothing is uploaded.
  • Search for useMessages and trace what it calls, or pick a route and follow it to the database.

New to reading a codebase this size? See how to understand a large codebase and how to read a call graph.

Questions

What language is Umami written in?

Mostly TypeScript: 1,245 of its 1,266 source files at commit dbb8d60, then JavaScript with 18.

Where does the Umami code start?

The entry point that reaches the most code is packages/mcp/src/cli.ts, which leads to 30 files through its imports.

How many routes does Umami have?

Nodeway found 275 routes, 275 of them linked to a handler. The most are under src/app.

What database tables does Umami use?

29 tables, defined with Prisma. The most used are website, team_user and two_factor_auth.

How this page was made

Generated from a map Nodeway's analyzer (version 18) made of umami-software/umami at commit dbb8d60, committed on 23 November 2026. Tests, dependencies and build output are mostly left out. A call counts only when the analyzer could confirm its target from the code, so real totals are higher. The project will have changed since.

More codebases, mapped

All repo maps

See your whole codebase in minutes.

Open a folder and Nodeway maps it on your own computer. No account, and nothing is uploaded.

More guides