explaingit

porunc/codewiki

Analysis updated 2026-05-18

39PythonAudience · developerComplexity · 3/5Setup · moderate

TLDR

A self-hosted platform that turns a code repository into a searchable, AI-generated wiki with diagrams and source citations.

Mindmap

mindmap
  root((CodeWiki))
    What it does
      Turns code into a wiki
      AST based analysis
    Tech Stack
      Python
      FastAPI
      React
      LiteLLM
    Use Cases
      Onboarding docs
      Ask questions about code
      Export as HTML or Obsidian
    Audience
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Turn an unfamiliar codebase into a browsable wiki with explanations and diagrams.

USE CASE 2

Ask natural-language questions about a repo and get answers grounded in the actual code.

USE CASE 3

Export the generated wiki as a standalone HTML file or an Obsidian vault.

USE CASE 4

Translate the generated documentation into another language like Chinese.

What is it built with?

PythonFastAPIReactViteLiteLLM

How does it compare?

porunc/codewikicybercal/hoic-baselinehadriansecurity/openhack
Stars393939
LanguagePythonPythonPython
Setup difficultymoderatemoderatemoderate
Complexity3/54/54/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Self-hosted, needs an AI model configured through LiteLLM.

In plain English

CodeWiki is a self-hosted platform that turns a code repository into a searchable, AI-generated wiki. The problem it solves is that large codebases are hard to understand for anyone new to them. There are no readable docs, just thousands of files. CodeWiki analyzes the structure of your code using a technique called AST parsing (which means it reads the grammar of code rather than just text), builds a graph of how everything connects, and then uses an AI model to write wiki pages that explain the codebase in human-readable prose with source citations and diagrams. You can then browse those pages in a built-in web interface, ask natural-language questions and get answers grounded in the actual code, export the wiki as a standalone HTML file or an Obsidian vault, and translate it into other languages like Chinese. It supports nine programming languages including Python, TypeScript, JavaScript, Java, Go, Rust, and C. The backend is built with FastAPI, the frontend with React and Vite, and the AI layer is handled through LiteLLM, which means you can plug in any compatible AI model. You would use it when onboarding to an unfamiliar project or when you want living documentation that updates as the code changes.

Copy-paste prompts

Prompt 1
Set up CodeWiki to analyze this repository and generate a browsable wiki with diagrams.
Prompt 2
Ask CodeWiki a question about how two modules in this codebase connect to each other.
Prompt 3
Export the wiki CodeWiki generated for this project as an Obsidian vault.

Frequently asked questions

What is codewiki?

A self-hosted platform that turns a code repository into a searchable, AI-generated wiki with diagrams and source citations.

What language is codewiki written in?

Mainly Python. The stack also includes Python, FastAPI, React.

How hard is codewiki to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is codewiki for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.