Skip to content

every claim cites its code

RepoWiki

Sep 2026 – Present

TypeScriptClaude APIAstroNode.js

RepoWiki reads a repository's source and git history, clusters its files into features, and writes a Wikipedia-style article for each one. Every claim on a page cites the code lines or commits it rests on. When new commits make a claim stale, it finds that claim and rewrites the page around it. It built every wiki linked from this site.

clusters a repository's files into features and writes one cited article per feature, plus an architecture page and a page for each contributor

tracks which claims each commit makes stale and regenerates only those pages, keeping a revision history for every article

builds a static site per repository with search, page history, an llms.txt and a full JSON export

what i built

  • an indexer that reads a repository at a given revision and clusters its files into features
  • the writing pipeline that calls the Claude API for structured, cited sections
  • staleness detection that maps changed lines back to the claims that cite them
  • an Astro site generator with search, history pages and a JSON export
  • an evaluation framework that measures how well the wiki describes the repository