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

358 Upvotes

62 comments sorted by

View all comments

100

u/SheriffRoscoe Sep 17 '26

I was prepared to reply with something snarky. Then I ran it against one of my own moderately complex repos.

Take my upvote, dammit.

6

u/ejpusa Sep 19 '26

Don’t fold. It’s a slippery slope!

1

u/__CaliMack__ Sep 20 '26

Lmao troll or get rolled