# DeepWiki Open — AI-Powered Wiki Generator for Code Repositories > Automatically generate comprehensive wiki documentation from GitHub, GitLab, or Bitbucket repositories using AI analysis. ## Install Save in your project root: # DeepWiki Open — AI-Powered Wiki Generator for Code Repositories ## Quick Use ```bash git clone https://github.com/AsyncFuncAI/deepwiki-open.git cd deepwiki-open pip install -r requirements.txt python main.py --repo https://github.com/owner/repo ``` ## 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 - https://github.com/AsyncFuncAI/deepwiki-open - https://github.com/AsyncFuncAI/deepwiki-open#readme --- Source: https://tokrepo.com/en/workflows/asset-735cfd0c Author: AI Open Source