News for hackers. Stuff that matters.
Re:Show HN: Codemap – one-page interactive map of any Go rep... by stigok on Wednesday November 04, 2026 @10:57AM (#50367431)
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.
Re:Show HN: Codemap – one-page interactive map of any Go rep... by baalimago on Wednesday November 04, 2026 @11:20AM (#50367813)
Interesting! It would be cool to see this as a cli tool to allow agents to efficiently inspect codebases
Re:Show HN: Codemap – one-page interactive map of any Go rep... by dmoose on Wednesday November 04, 2026 @12:11PM (#50368552)
I took a bit different approach assuming that agents can use the language servers to get structure and just trying to keep them honest. With this in a hook a lot of stuff is caught quickly without wasting a lot of context. https://github.com/dmoose/gochecks
Re:Show HN: Codemap – one-page interactive map of any Go rep... by lukasschwab on Wednesday November 04, 2026 @03:35PM (#50371140)
Agents are pretty savvy with the `go doc` and `go list` builtins, especially if you nudge them!
Re:Show HN: Codemap – one-page interactive map of any Go rep... by slantedview on Wednesday November 04, 2026 @11:23AM (#50367859)
This is really cool. I could see adding this alongside the godocs to my open source projects.
Re:Show HN: Codemap – one-page interactive map of any Go rep... by quibono on Wednesday November 04, 2026 @11:33AM (#50368028)
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.

Re:Show HN: Codemap – one-page interactive map of any Go rep... by peter_retief on Wednesday November 04, 2026 @12:25PM (#50368714)
Just Go for now. .. useful across non-Go repositories too. yes
Re:Show HN: Codemap – one-page interactive map of any Go rep... by order-matters on Wednesday November 04, 2026 @12:30PM (#50368790)
why Go
Re:Show HN: Codemap – one-page interactive map of any Go rep... by peter_retief on Wednesday November 04, 2026 @12:59PM (#50369193)
What I am using
Re:Show HN: Codemap – one-page interactive map of any Go rep... by quibono on Wednesday November 04, 2026 @12:33PM (#50368838)
Also, just for posterity, in terms of similar solutions that I know of there's Whiteboard [0] and T3's Guide view [1]

[0] https://dev.fast/

[1] https://github.com/pingdotgg/t3code

Re:Show HN: Codemap – one-page interactive map of any Go rep... by joe-esquibel on Wednesday November 04, 2026 @11:46AM (#50368226)
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.
Re:Show HN: Codemap – one-page interactive map of any Go rep... by tortela on Wednesday November 04, 2026 @12:53PM (#50369120)
would be nice if there was a picture of the final result in the README.md
Re:Show HN: Codemap – one-page interactive map of any Go rep... by RamblingCTO on Wednesday November 04, 2026 @12:54PM (#50369138)
> 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.

Re:Show HN: Codemap – one-page interactive map of any Go rep... by peter_retief on Wednesday November 04, 2026 @01:08PM (#50369311)
It is just the idea, for me to navigate my project code, free to use and change
Re:Show HN: Codemap – one-page interactive map of any Go rep... by gchamonlive on Wednesday November 04, 2026 @01:11PM (#50369353)
[delayed]
Re:Show HN: Codemap – one-page interactive map of any Go rep... by RamblingCTO on Wednesday November 04, 2026 @02:17PM (#50370236)
And what would effort look like, besides inspecting code and the result to find the message I quoted, huh?
Re:Show HN: Codemap – one-page interactive map of any Go rep... by gchamonlive on Wednesday November 04, 2026 @02:25PM (#50370342)
[delayed]
Re:Show HN: Codemap – one-page interactive map of any Go rep... by RamblingCTO on Thursday November 05, 2026 @04:32AM (#50377104)
specific aesthetic means raw claude slop w/o changing anything about it? that's no lazy extrapolation my dude. I'm just saying it lowers the value of the project, bc I can assume that it's probably not gonna be touched any further (without throwing shade on op, I think it's a cool idea. it's just way behind it's potential bc of the claude copy and the claude design in the report). it's a few commits made by claude, I assume there was no real work on the side of op. that lowers my felt value of the project. that's neither lazy nor unfair, it's the last 2 years of vibecoding? if op decides to clean it up, I'd be happy to explore it actually. I kinda do measure projects by human effort. I don't know why you're throwing shade bc you seem to disagree.
Re:Show HN: Codemap – one-page interactive map of any Go rep... by peter_retief on Thursday November 05, 2026 @05:50AM (#50377655)
In my 20+ years of coding I have produced way worse slop that Claude wrote here.

Ironically this tiny utilty was produced to make keeping up with Ai code a little easier.

my advice to you is to write code that manages Ai, I dont think Ai is going away any time soon...

Re:Show HN: Codemap – one-page interactive map of any Go rep... by RamblingCTO on Thursday November 05, 2026 @10:44AM (#50380548)
> Ironically this tiny utilty was produced to make keeping up with Ai code a little easier.

which is fine. I just think we're losing something important when we reduce friction and effort. and for me--totally personal preference--keeping raw claude output is just that. I don't wanna throw too much shade on you or your project tho, that wasn't my intention. I'm just fed up with the moronic way of how claude writes, designs, etc.

Re:Show HN: Codemap – one-page interactive map of any Go rep... by peter_retief on Thursday November 05, 2026 @12:18PM (#50381695)
I don't totally disagree with you and have been feeling a bit guilty of posting this work as my own when in fact it is generated by Claude, even though I try and make it clear that much of the code is generated.

I have never been able to produce this volume of work so it is very tempting to let it all hang out, so to say

The concepts are all mine and I am really happy to be able to give back to the open source community albeit a small gesture.

I never felt any malice in your comments btw.

Re:Show HN: Codemap – one-page interactive map of any Go rep... by int0x21 on Wednesday November 04, 2026 @04:49PM (#50372039)
I got inspired and "vibe coded" a Perl version :) https://github.com/interrupt21h/perl-codemap
Re:Show HN: Codemap – one-page interactive map of any Go rep... by peter_retief on Thursday November 05, 2026 @06:37AM (#50377953)
I will add a link..