TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Repo-guide – AI-generated docs for codebase exploration and onboarding

2 pointsby wolfmanstout3 months ago
Hey HN, I built repo-guide to make it easier to dive into and contribute to unfamiliar codebases. You can see an example of what it generates here: <a href="https:&#x2F;&#x2F;wolfmanstout.github.io&#x2F;repo-guide&#x2F;" rel="nofollow">https:&#x2F;&#x2F;wolfmanstout.github.io&#x2F;repo-guide&#x2F;</a><p>Unlike most AI documentation tools that focus on Q&amp;A, repo-guide generates comprehensive, browsable guides. It&#x27;s designed to complement (not replace) human-authored documentation, with full transparency about AI generation.<p>Why?<p>* Deepening expertise: One of the best ways to advance as an engineer is to learn how libraries and systems you use are built under the hood. Many AI tools emphasize Q&amp;A chat, which is great if you already know what questions to ask, but not as helpful when you’re trying to discover new details. By generating detailed, navigable guides, repo-guide helps surface interesting design choices you might otherwise miss.<p>* Onboarding contributors: If you’re new to a repo, figuring out directory layouts and dev tools can be a slog. A comprehensive auto-generated guide lets you ramp up faster.<p>How It Works:<p>* You install it via pip install repo-guide, then run repo-guide &lt;path_to_repo&gt;.<p>* It uses a bottom-up approach that examines each directory and file, generating Markdown docs you can browse locally (or deploy).<p>* Under the hood, it leverages Simon Willison’s LLM package (<a href="https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm">https:&#x2F;&#x2F;github.com&#x2F;simonw&#x2F;llm</a>) to call LLM APIs (e.g., Gemini 2.0 Flash by default -- you can specify another model via --model).<p>* The system prompt encourages verbosity so you’ll see thorough coverage of internals (you can customize or shorten this via --custom-instructions).<p>What’s Next?<p>* Future ideas include a live chatbot that references both the generated docs and code, plus auto-generated changelogs.<p>* This is one of my weekend projects, so maintenance might be sporadic, but I’m happy to take feedback and suggestions!

no comments

no comments