r/github • u/m-fasciano • 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
View all comments
1
u/ScandinavMan Oct 05 '26
Yeah very pretty but not safe to run - if your repo was public it is no longer protected by "security by obscurity" - if private, worse! and now the creator has your repo and possible tokens you had lying around.