Skip to content

About

Free, simple, fast interactive diagrams for any GitHub repository

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

430 Commits

Folders and files

Repository files navigation

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.

GitDiagram front page

License Ko-fi

Sent   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

Fill in .env using the configuration guide, then start the app:

bun run dev

Open localhost:3000.

Development

Built with Next.js, React, TypeScript, Tailwind CSS, and Mermaid. Deployed on Vercel.

Contributions are welcome. Open an issue or pull request with a focused description and verification notes.

Inspired by Romain Courtois's Gitingest.

About

Free, simple, fast interactive diagrams for any GitHub repository

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages