Open-source DeepWiki
Self-hosted generators that turn a code repository into a browsable, AI-written wiki.
These tools take a code repository and produce a browsable wiki written by an LLM. The category has seven projects, because only seven genuine open-source DeepWiki generators exist. Three design axes separate them. The first is how the model gets context: embedding retrieval over every file, lexical search, agents that list, grep and read files, or prompts packed from earlier summaries. The second is who plans the table of contents: an LLM, fixed slots in code, or the source tree itself. The third is how much runs around the generator, from a single CLI run to a multi-user service with a database, chat and MCP. When choosing, check how many files a tool really reads in a large repo, whether citations point to real lines, whether stages can use different or local models, and whether a new commit updates only the changed pages.
Projects (7)
| Project | Stars |
|---|---|
| AsyncFuncAI/deepwiki-openFastAPI service and Next.js UI that embed a repo into a FAISS index, then generate a cited, Mermaid-heavy wiki with one prompt per page. | ★ 18k |
| AIDotNet/OpenDeepWikiASP.NET Core service in which tool-calling LLM agents read a repo and write its wiki, mind map and translations into SQLite or PostgreSQL. | ★ 3.6k |
| sopaco/deepwiki-rsRust CLI (Litho) that runs a fixed chain of LLM agents over a local repo and writes C4-style Markdown docs with Mermaid diagrams. | ★ 3.1k |
| OpenBMB/RepoAgentPython CLI that writes one LLM doc per function and class, ordered by a Jedi call graph and refreshed incrementally from git changes. | ★ 1.1k |
| aibox22/readmeXPython CLI that has an OpenAI-compatible LLM fill a README template or a fixed eight-page MkDocs site, with optional code RAG over Python. | ★ 630 |
| he-yufeng/RepoWikiPython CLI and FastAPI app that builds a fixed-shape repo wiki from four LLM passes, an import-graph PageRank and TF-IDF chat. | ★ 293 |
| weibaohui/openDeepWikiGo server (not AIDotNet's OpenDeepWiki) where Eino agent chains with shell access plan a wiki, write each page and answer chat. | ★ 101 |
Comparison questions
Each question is answered separately for every project in this category, from that project's source code.
- How is a repository ingested and chunked?Clone or local path; file filters; chunking strategy; supported hosts; large-repo limits.
- How is retrieval (RAG) implemented?Embedding models; vector store; top-k; how retrieved code reaches the prompt; or agentic file reading instead of RAG.
- How is the wiki structure (table of contents) determined?Prompt/agent that proposes sections and pages; inputs used (file tree, README); output format.
- How are individual pages generated?Per-page prompts; source-file citations; diagrams (Mermaid); parallelism; caching and regeneration.
- How are model providers configured?Supported providers; per-stage model selection; OpenAI-compatible endpoints; local models.
- How is interactive Q&A / chat implemented?Chat over the repo; deep-research mode; streaming; conversation memory; MCP exposure.