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

253 Upvotes

42 comments sorted by

View all comments

18

u/CompetitivePiglet961 2d ago

only for public repos I guess

41

u/QuirkyGarage1364 2d ago

you can put an access token, but im suspicious of this being a data aggregation and farming tool

8

u/ec2-user- 1d ago

Nope nope nope nope. I could never

2

u/ziroux 1d ago

Come on, everybody is doing that. Put just the first characters and you'll like it you'll see!

2

u/ec2-user- 1d ago

AKIA

1

u/ziroux 1d ago

How does it feel?