Show HN: Codemap – one-page interactive map of any Go repository

31 points - today at 3:18 PM

Source

Comments

quibono today at 4:33 PM
Possibly silly question, but is this aimed at Go repos only because of some structural reason, or because this was the author's intention?

I can see this approach being useful across non-Go repositories too.

stigok today at 3:57 PM
I like this! It would be great if it was a hosted solution where I could just add any repository to the URL, like https://pkg.go.dev/ does for the godocs.
joe-esquibel today at 4:46 PM
Whats the validation strategy that you used for this? I run a similar project and I found that golden repos were needed to prevent drift. Have you stress tested this to find any limits? I compared my go work to ctags and treesitter for proof of functions found and list precision and recall.
RamblingCTO today at 5:54 PM
> Every Go package in github.com/peterretief/yggstore, what it builds on, and the functions in each of its files. Tests are left out.

it's a cool idea, but reads super sloppy, sorry. There is literally no effort in this.

deleted today at 4:45 PM
baalimago today at 4:20 PM
Interesting! It would be cool to see this as a cli tool to allow agents to efficiently inspect codebases
slantedview today at 4:23 PM
This is really cool. I could see adding this alongside the godocs to my open source projects.
tortela today at 5:53 PM
would be nice if there was a picture of the final result in the README.md
web-frank today at 5:50 PM
[dead]