ahmedkhaleel2004/gitdiagram is an open-source project on GitHub, mainly written in TypeScript. Free, simple, fast interactive diagrams for any GitHub repository It currently holds 16,714 stars and 1,275 forks with 40 open issues, and was last pushed on 2026-09-20 (repository created 2024-12-15).
Project Overview
Git Homed tracks it on the Today's Trending board, currently at rank #19 with 285 new stars today.
GitHub Repository Details
Repository ahmedkhaleel2004/gitdiagram · default branch main · size 6235 KB · watchers 59 · source: GitHub REST API and repository README
README
GitDiagram
Turn any public or private GitHub repository into an interactive architecture diagram.
Try GitDiagram → · Or replace hub with diagram in any GitHub repository URL.
Sponsored
> SMS, WhatsApp, and RCS through one API. Try Sent →
Features
Explore the architecture with an AI-generated diagram and streamed explanation.
Jump to the code by clicking any component's linked file or directory.
Use private repositories with a GitHub token via Private Repos in the header.
Export diagrams as PNG or copy the Mermaid source.
Run locally
Requires Bun, Cloudflare R2, Upstash Redis, and an OpenAI or OpenRouter API key. See the setup guide for prerequisites and configuration.
git clone https://github.com/ahmedkhaleel2004/gitdiagram.git
cd gitdiagram
bun install
cp .env.example .env