Show HN: Instantly visualize any codebase as an interactive diagram

  • Posted 1 week ago by ahmedkhaleel
  • 219 points
https://gitdiagram.com/
GitDiagram is an open-source micro dev-tool that I made this past week

Given any public GitHub repository it generates diagrams in Mermaid.js with Claude 3.5 Sonnet

I extract information from the file tree and README for details and interactivity (you can click components to be taken to relevant files and directories)

Also, you can replace "hub" with "diagram" in any repository URL to access its diagram

I created this because I wanted to contribute to open-source projects but quickly realized their codebases are too massive for me to dig through manually, so this helps me get started

I do still plan on adding other features like private repository access if that becomes a thing people want

This project was heavily inspired by https://gitingest.com/ so make sure to check that out as well!

Hopefully this tool can help you and feedback is always welcome!

35 comments

    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..
    Loading..