DeepWiki automates the creation of clean, interactive wikis for any GitHub, GitLab, or BitBucket repository. By simply providing a repository URL, DeepWiki scans the codebase, generates comprehensive documentation, renders diagrams to illustrate system behavior, and organizes the output into an intuitive, browsable wiki.
What it does:
Key features
Option 1: Docker (recommended)
# Clone the repository
git clone https://github.com/AsyncFuncAI/deepwiki-open.git
cd deepwiki-open
# Create a .env file with your API keys
echo "GOOGLE_API_KEY=your_google_api_key" > .env
echo "OPENAI_API_KEY=your_openai_api_key" >> .env
# Launch with Docker Compose
docker-compose up
Option 2: Manual setup
Step 1: Configure API keys
Create a .env file in the project root directory:
GOOGLE_API_KEY=your_google_api_key
OPENAI_API_KEY=your_openai_api_key
Step 2: Start the backend
Step 3: Start the frontend
# Install JavaScript dependencies
npm install
# or
yarn install
# Launch the web application
npm run dev
# or
yarn dev
Step 4: Using DeepWiki
Enter a GitHub or GitLab repository name (e.g., facebook/react, vercel/next.js, or https://gitlab.com/gitlab-org/gitlab).
For private repositories, click "+ Add access tokens" and input your GitHub or GitLab personal access token.
Click "Generate Wiki" to begin the process.
DeepWiki leverages AI to perform the following steps:
Environment variables
| Variable | Description | Required |
|---|---|---|
| GOOGLE_API_KEY | Google Gemini API key for content generation | Yes |
| OPENAI_API_KEY | OpenAI API key for generating embeddings | Yes |
| PORT | API server port (defaults to 8001) | No |
Docker setup
Deploy DeepWiki using Docker:
# Pull the image from the GitHub Container Registry
docker pull ghcr.io/asyncfuncai/deepwiki-open:latest
# Run the container
docker run -p 8001:8001 -p 3000:3000 \
-e GOOGLE_API_KEY=your_google_api_key \
-e OPENAI_API_KEY=your_openai_api_key \
-v ~/.adalflow:/root/.adalflow \
ghcr.io/asyncfuncai/deepwiki-open:latest
Alternatively, use the provided docker-compose.yml:
# Ensure the .env file is configured with API keys first
docker-compose up
The API server manages the following core functions:
API key issues
.env file is located in the project root and contains both required API keys.Connection issues
Generation issues
Feiniao VPN: Free Trial, 4K Streaming & Unblock Netflix (2026 Guide)
Halo Docker Compose Deployment Guide – Requirements & Setup
Mars3D Vue Examples: 381 Interactive 3D Map Demos and Live Code Editing
Build AI Agent Interfaces Faster with agents-ui-kit
Transformers Library: Installation, Pipeline API, and Model Examples
Crawl4AI: Fast LLM-Ready Web Scraping Without the Bloat
Graph-Code: Query Your Codebase via Natural Language with LLM-Powered RAG
ThinkChain: Stream Claude's Reasoning with Local Tools and MCP
AppFlowy: Open-Source Notion Alternative With Local Data Control
Magentic-UI: Multi-Agent Web Automation You Can Watch and Control
DeepWiki: Automatically Generate Interactive Wikis for Any GitHub Repository
Perspective: Interactive Data Visualization for the Browser and Python