# Codemap - One-page interactive map of any Go repository

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

> Hacker News story 50366811 · language: en · submitted 2026-11-04
> Web version: https://zeli.app/story/50366811
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 44 · by [peter_retief](<https://news.ycombinator.com/user?id=peter_retief>) · 💬 23
[original](<https://github.com/peterretief/codemap>) · [HN discussion](<https://news.ycombinator.com/item?id=50366811>)

## Summary

Codemap turns any Go module into a single, self-contained HTML page that visualizes every package, its internal dependencies, and the functions inside each file. Search the map, click a package to see what it uses and what uses it, and jump straight to any function's line on GitHub. With a single `go run` command or a GitHub Action, you get a shareable code map with no server required — ideal for onboarding, code reviews, and understanding large codebases at a glance.

## Key quote

> Each row builds only on the rows below it, so the foundations are at the bottom and your commands at the top — one HTML page that maps a Go module: every package, what it builds on, and the functions in each of its files.

## HN discussion (23 comments)

### [int0x21](<https://news.ycombinator.com/item?id=50372039>)

> I got inspired and "vibe coded" a Perl version :)
>
> https://github.com/interrupt21h/perl-codemap

### [stigok](<https://news.ycombinator.com/item?id=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.

### [quibono](<https://news.ycombinator.com/item?id=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.

---

## Cite

- Page: https://zeli.app/story/50366811
- Date: 2026-11-04
- Source: github.com (https://github.com/peterretief/codemap)
- Hacker News: https://news.ycombinator.com/item?id=50366811

## Other languages

- zh: https://zeli.app/zh/story/50366811 · markdown: https://zeli.app/zh/story/50366811.md
- ja: https://zeli.app/ja/story/50366811 · markdown: https://zeli.app/ja/story/50366811.md
- ko: https://zeli.app/ko/story/50366811 · markdown: https://zeli.app/ko/story/50366811.md
- de: https://zeli.app/de/story/50366811 · markdown: https://zeli.app/de/story/50366811.md
- es: https://zeli.app/es/story/50366811 · markdown: https://zeli.app/es/story/50366811.md
- ru: https://zeli.app/ru/story/50366811 · markdown: https://zeli.app/ru/story/50366811.md
