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. πŸ”

351 Upvotes

62 comments sorted by

View all comments

39

u/DrMaxwellEdison Sep 17 '26 edited Sep 20 '26

Eh. I had it regenerate on Django 3 times and it produced completely different graphs each time.

I get that it's AI and non-deterministic, but being as noisy as it was, I could never trust it actually understands the structure of a repo well enough to bother.

Pass.

1

u/ArtisticVisual Sep 21 '26

I actually wonder why it's not determinstic. Seems very bad to make it propablistic lol

2

u/valleyman86 Sep 22 '26

Because ai is not deterministic. Hell most code isn’t. It’s hard to be even at low levels without using deterministic types.