{"by":"ahmedkhaleel","descendants":62,"id":42521769,"kids":[42523858,42524004,42526964,42526735,42524125,42523786,42524515,42526396,42528711,42523566,42526442,42523835,42526254,42523882,42530047,42526695,42525963,42524024,42528628,42529088,42527847,42526169,42523272,42526229,42524393,42525962,42525253,42524066,42527187,42532335,42529459,42523796,42529102,42528202,42545310],"score":222,"text":"GitDiagram is an open-source micro dev-tool that I made this past week<p>Given any public GitHub repository it generates diagrams in Mermaid.js with Claude 3.5 Sonnet<p>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)<p>Also, you can replace &quot;hub&quot; with &quot;diagram&quot; in any repository URL  to access its diagram<p>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<p>I do still plan on adding other features like private repository access if that becomes a thing people want<p>This project was heavily inspired by <a href=\"https:&#x2F;&#x2F;gitingest.com&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;gitingest.com&#x2F;</a> so make sure to check that out as well!<p>Hopefully this tool can help you and feedback is always welcome!","time":1735304657,"title":"Show HN: Instantly visualize any codebase as an interactive diagram","type":"story","url":"https://gitdiagram.com/"}