AI product Open source · MIT
GitDiagram is a web application that turns public or private GitHub repositories into interactive architecture diagrams with links back to the source files and directories. It retrieves a repository's default branch, tree, README, and bounded, integrity-checked source excerpts through the GitHub API; an OpenAI or OpenRouter model produces a source-grounded overview and graph, whose groups, nodes, edges, shapes, labels, and paths are validated against the repository. A deterministic compiler converts the validated graph to Mermaid, while the browser sanitizes and renders the result and can export Mermaid source or a PNG. Successful diagrams are persisted for later reopening, and private-repository access uses a GitHub token supplied for the relevant request rather than embedding the token in public links.
1 use taken from transcripts — each links to the moment in the video.
A tool that turns public or private GitHub repositories into interactive architecture diagrams. It analyzes the repository tree and README, generates a system-level graph with linked files, and can export diagrams as Mermaid or PNG.
1 in the library.