Configs2026年9月12日·1 分钟阅读

DeepWiki Open — AI-Powered Wiki Generator for Code Repositories

Automatically generate comprehensive wiki documentation from GitHub, GitLab, or Bitbucket repositories using AI analysis.

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 64/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Knowledge
安装
Single
信任
信任等级:Established
入口
DeepWiki Open Overview
先审查命令
npx -y tokrepo@latest install 735cfd0c-aecd-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run,确认写入项后再运行此命令。

Introduction

DeepWiki Open is the open-source version of the DeepWiki service. It analyzes code repositories from GitHub, GitLab, or Bitbucket and generates comprehensive wiki-style documentation using AI. The tool parses code structure, reads README files and comments, then produces organized, navigable documentation pages that explain the project's architecture, components, and usage.

What DeepWiki Open Does

  • Clones and analyzes any public or private code repository
  • Generates structured wiki pages covering architecture, modules, and APIs
  • Creates relationship diagrams between components
  • Supports multiple LLM providers for content generation
  • Produces self-contained HTML documentation for offline browsing

Architecture Overview

DeepWiki Open is a Python application that combines code analysis with LLM-based content generation. It first parses the repository structure using language-aware analyzers to extract modules, functions, classes, and their relationships. This structured representation is then fed to an LLM in batches to generate documentation for each component. A rendering stage produces the final wiki pages with cross-linked navigation.

Self-Hosting & Configuration

  • Install Python dependencies and configure your LLM API key
  • Supports OpenAI, Anthropic, Google Gemini, and Ollama for local models
  • Provide a repository URL or local path as input
  • Configure output format and documentation depth in settings
  • Deploy the generated wiki as static HTML or serve via the built-in web server

Key Features

  • Multi-platform support for GitHub, GitLab, and Bitbucket repositories
  • Configurable documentation depth from high-level overview to detailed API docs
  • Support for private repositories with token-based authentication
  • Multiple LLM provider backends including local models via Ollama
  • Component relationship visualization in generated documentation

Comparison with Similar Tools

  • Docusaurus — static site generator requiring manual content; DeepWiki auto-generates from code
  • Mintlify — AI-assisted docs but SaaS-only and focused on API documentation
  • MkDocs — Markdown-based doc sites needing manual authoring
  • Swagger/OpenAPI — API-specific documentation, not full project wikis
  • ReadMe — commercial documentation platform without self-hosting option

FAQ

Q: Which LLM providers are supported? A: OpenAI, Anthropic, Google Gemini, OpenRouter, and local models through Ollama.

Q: Can it document private repositories? A: Yes, provide a personal access token for the respective platform to access private repositories.

Q: How long does it take to generate documentation? A: It depends on repository size and the LLM provider used. Small to medium repositories typically take a few minutes.

Q: Can I customize the generated output? A: Yes, you can configure the documentation depth, included sections, and output format through the settings file.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产