← Wiki

deepwiki-rs (Litho)

AI-powered documentation generator. Scans a codebase, produces C4 model architecture docs with Mermaid diagrams. Keeps docs in sync with code.

How it works

Four-stage pipeline:

  1. Preprocess – scan codebase, extract metadata, identify dependencies
  2. Research – LLM analyzes architecture patterns, component relationships
  3. Compose – generate C4 diagrams (Context, Container, Component, Code) and structured docs
  4. Validate – verify Mermaid syntax, check completeness

Features

Stack

Rust + Axum + LLM integration. Includes Litho Book (markdown reader) and Mermaid Fixer (diagram validation).

When to use

Links

Sources

Related