r/github • • Sep 17 '26

Discussion Found a pretty neat GitHub trick today πŸ‘€

Take any GitHub repo URL and replace github.com with gitdiagram.com.

It generates a visual diagram of the repo structure, which is surprisingly useful when you’re trying to understand an unfamiliar codebase.

Example:

github.com/user/repo β†’ gitdiagram.com/user/repo

Great little tool for getting the big picture before diving into the code. πŸ”

354 Upvotes

62 comments sorted by

View all comments

127

u/Ambitious-Tear-9436 Sep 17 '26 • Bravo

do not give this access to your private repo

4

u/Ayano-Keiko Sep 23 '26

you can run locally

I find the GitHub repo https://github.com/ahmedkhaleel2004/gitdiagram

2

u/manuelbyclaude Sep 29 '26

thanks for looking out

1

u/krishnank9 16d ago

why not ? when we are giving the repo context claude code and copilot chat . why not here ?