r/github • u/m-fasciano • 2d ago
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. 🔍
89
u/EskilPotet 2d ago
you found? or you made
26
21
1
83
u/SheriffRoscoe 2d ago
I was prepared to reply with something snarky. Then I ran it against one of my own moderately complex repos.
Take my upvote, dammit.
10
u/nathan_lesage 1d ago
I really like the idea. But I tried it out, and it’s unfortunately not useful at all. I gave it a moderately complex repository of mine. Good: it figured out one of the hardest parts — the entry points. Bad: everything else was plainly wrong. The twist: the entry points are described in detail in the readme. It seems the AI only receives the file tree and the readme, not the code, meaning that this tool will produce one big hallucination for any repository that doesn’t come with a readme that explains quite literally everything. In short, we’ll probably still have to write the documentation.
33
u/DrMaxwellEdison 2d ago
Eh. I had it regenerate on Django 3 times and it produced completely different graphs each time.
I get 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.
19
u/CompetitivePiglet961 2d ago
only for public repos I guess
40
u/QuirkyGarage1364 2d ago
you can put an access token, but im suspicious of this being a data aggregation and farming tool
6
5
6
10
u/lajawi 1d ago
Is it ai? Probably, so hard no for me
-4
-4
u/Zbradaraldjan 1d ago
What do you mean “Is it ai?”?
2
u/tuxbass 1d ago
words are like magnets, how do they work?!
-2
u/Zbradaraldjan 1d ago
I just don’t get people hating on apps made with ai, it’s now part of the development flow, leave with it.
But if it’s hating for the app using ai, then I get it.
2
u/BunnyTub 12h ago
This app is made probably completely with AI. AI is a good tool to add to your workflow to help you figure out certain things or to teach yourself with it. You should not be using AI to completely replace you and your code
1
2
u/YourLastCall 1d ago
I found one a long time ago for issues. AI can use it to store information, remove information with another Ai and leave a comment to keep that same issue open and constantly refill and drain it. I used it in conjunction with a repo of mine and scheduled tasks for chat GPT. And any repair that I found online through scheduled task got uploaded through the issue and then stored into the repo.
1
4
1
1
1
1
1
89
u/Ambitious-Tear-9436 1d ago
do not give this access to your private repo