All 33 Dependencies
Every package GitDiagram depends on, ranked by repo health score.
GitDiagram transforms GitHub repositories into interactive Mermaid.js architecture diagrams using a two-stage AI pipeline. It first generates a plain-English explanation of a repo's architecture, then converts that explanation into a validated graph of systems, nodes, and edges — all cross-checked against the real file tree before rendering. The result is a clickable diagram where every component links directly to its source file or directory on GitHub.
The project runs a Next.js 16 frontend on Vercel and supports two generation backends: a FastAPI service deployed on Railway for production parity, or built-in Next.js Route Handlers for lightweight self-hosting. Cloudflare R2 stores diagram artifacts and Upstash Redis tracks complimentary daily quotas and terminal failure summaries. AI inference supports OpenAI, OpenRouter, and Atlas Cloud, switchable via environment configuration.
GitDiagram is fully open-source under the MIT license with a self-hosting path that requires only a Bun environment and an AI provider API key for the simplest configuration. The FastAPI backend adds Python 3.14 and uv for production-parity deployments with Docker Compose. Private repositories are supported via a GitHub personal access token stored client-side.
The project has grown to over 15,000 stars since its December 2024 launch, driven by its utility for developers onboarding to unfamiliar codebases. An active sponsor program and a rotating sponsor slot in the README fund ongoing development.