Litho (deepwiki-rs) - AI-Powered Documentation Generation
Quick Start Guide
Use Litho when you need to:
- Analyze entire codebases and generate architecture documentation
- Create C4 model diagrams (Context, Container, Component, Code)
- Understand complex software systems and module relationships
- Generate comprehensive technical specifications
- Document architecture evolution and design decisions
Core Workflow:
# Basic codebase analysis
deepwiki-rs -p ./src
# Complete C4 documentation with dual models
deepwiki-rs -p ./project --model-efficient gpt5-mini --model-powerful gpt5
Decision Tree
š Comprehensive Documentation ā Use "Full Litho Workflow"
Generate complete C4 model documentation with architecture diagrams and technical specs.
ā” Quick Code Analysis ā Use "Basic Analysis Mode"
Fast code insights without full documentation pipeline.
šļø Architecture Understanding ā Use "Advanced C4 Generation"
Deep architectural analysis with detailed component relationships.
š CI/CD Integration ā Use "Automated Pipeline"
Continuous documentation generation for development workflows.
Key Capabilities
Multi-Language Support
- Rust, Python, Java, Go, C#, JavaScript/TypeScript
- Any language with recognizable code structure
Documentation Structure
project-docs/
āāā 1. Project Overview
āāā 2. Architecture Overview
āāā 3. Workflow Overview
āāā 4. Deep Dive/
āāā Topic1.md
āāā Topic2.md
Essential Parameters
-p, --path: Source directory
-o, --output: Output location (default: ./litho.docs)
--model-efficient: Fast model for quick analysis
--model-powerful: Capable model for deep analysis
--skip-preprocessing: Skip initial scanning phase
--skip-research: Skip AI research phase
Advanced Resources
For detailed configuration, troubleshooting, and advanced patterns:
Security & Performance Notes
- Install only from trusted sources
- Use
--model-efficient for large codebases
- Batch processing helps avoid API rate limits
- Memory-constrained environments: use
--skip-preprocessing
Installation
# Install from crates.io (recommended)
cargo install deepwiki-rs
# Build from source
git clone https://github.com/sopaco/deepwiki-rs.git && cd deepwiki-rs && cargo build --release