Show HN: Explore popular go codebases visually
The article presents a tool that generates interactive hierarchical call graphs for Go codebases. It allows developers to explore code visually at different levels of granularity (struct, package) and uses AI to filter out uninteresting control flow while enriching diagrams with semantic information. Diagrams for popular Go repositories are available for feedback.
Background
- This is a "Show HN" post on Hacker News — a space where makers share side projects for technical feedback. The author built a tool that generates interactive, zoomable call graphs (diagrams showing which functions call which) for Go codebases.
- Call graphs are a well-known visualization technique in software engineering, but they are usually noisy: real programs contain thousands of function calls, most of which are routine library calls or trivial plumbing, so the output is hard to read.
- The key idea here is hierarchy + AI filtering: the tool groups calls at the package/struct level for a high-level view, lets you zoom into function-level detail, and uses AI to prune "uninteresting" calls (e.g., standard library boilerplate) while annotating the diagram with semantic labels.
- The author linked to pre-generated diagrams for popular open-source Go repos (e.g., Docker, Kubernetes, Prometheus), letting visitors play with the tool without installing anything.
- The broader framing is "program comprehension in the GenAI era" — the question of whether AI assistants like Copilot change how developers explore and understand unfamiliar codebases.