gitwtfhub

wtf is codewiki?

porunc/codewiki — explained in plain English

Analysis updated 2026-05-18

39PythonAudience · developerComplexity · 3/5Setup · moderate

TL;DR

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

Why would anyone build with this?

REASON 1

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

REASON 2

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

REASON 3

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

REASON 4

Translate the generated documentation into another language like Chinese.

What's in the stack?

PythonFastAPIReactViteLiteLLM

How it stacks up

porunc/codewikiaa2448208027-code/localaihotswapamapvoice/pilottts
Stars393939
LanguagePythonPythonPython
Setup difficultymoderatemoderatehard
Complexity3/53/54/5
Audiencedeveloperdeveloperdeveloper

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

How do you spin it up?

Difficulty · moderate Time to first run · 30min

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

Wtf does this do

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.

Yoink these 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

wtf 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.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.