GitDiagram is an open source web application designed to help developers quickly understand the structure and architecture of GitHub repositories by automatically generating interactive diagrams. It analyzes repository metadata such as the file tree and project documentation to build a visual representation of how different components of a project relate to one another. It uses an AI-powered pipeline to interpret repository structure and transform that information into system design diagrams rendered with Mermaid visualization. These diagrams provide a high-level overview of a codebase, making it easier for developers to explore unfamiliar projects or understand large and complex repositories. Users can interact with the generated diagrams by clicking components to navigate directly to related files or directories within the repository. GitDiagram combines a modern web frontend with a backend service that processes repository data and generates diagrams dynamically.
Features
- Automatically converts GitHub repositories into architecture diagrams
- Interactive diagram components that link to repository files and folders
- AI-powered analysis of repository structure and README content
- Mermaid-based diagram rendering for visual system representation
- Ability to export generated diagrams or copy Mermaid diagram code
- Public API support for integration with external tools (work in progress)