Analysis updated 2026-06-24
Paste a GitHub URL and get a clickable architecture diagram for an unfamiliar repo
Generate onboarding visuals for a private repo using a personal access token
Self host gitdiagram with Bun and Docker to avoid the public site
Embed an architecture overview in a code review or design doc
| ahmedkhaleel2004/gitdiagram | getmaxun/maxun | microsoft/data-formulator | |
|---|---|---|---|
| Stars | 15,590 | 15,564 | 15,549 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 3/5 | 3/5 | 3/5 |
| Audience | vibe coder | data | data |
Figures from each repo's GitHub metadata at analysis time.
Self hosting needs Bun Docker a GitHub token and an OpenAI API key for the diagram generation.
GitDiagram is a TypeScript web application that converts any GitHub repository into an interactive visual diagram in seconds. You can use it by visiting gitdiagram.com and pasting a repo URL, or by replacing "hub" with "diagram" in any GitHub URL. The diagram shows the architecture and structure of the codebase, and each node in the diagram is clickable, clicking it takes you directly to the corresponding source file or directory on GitHub. Under the hood, the tool fetches the repository's file tree and README through the GitHub API, then uses GPT-5-family AI models to first write a plain-English architecture explanation and then convert that explanation into a structured diagram in Mermaid.js (a format for drawing diagrams as text). The diagram is validated against the actual file tree before being shown, with automatic retries if problems are found. Diagrams are cached in Cloudflare R2 storage so repeat visits are fast. Private repositories are supported by providing a GitHub personal access token. The frontend is built with Next.js and TypeScript and deployed on Vercel, while the backend runs as a FastAPI service on Railway. The project can also be self-hosted locally using Bun and Docker.
Turns any GitHub repo into an interactive Mermaid architecture diagram with clickable nodes that link to the underlying files. Swap hub for diagram in any GitHub URL.
Mainly TypeScript. The stack also includes TypeScript, Next, FastAPI.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.