Welcome to the CodeWiki documentation. CodeWiki is an open-source, AI-powered documentation engine that transforms source code repositories into structured, hierarchical, and navigable technical documentation — automatically.
Built by Flamingo as part of the OpenFrame platform.
New to CodeWiki? Start here.
| Document | Description |
|---|---|
| Introduction | What CodeWiki is, how it works, and who it is for |
| Prerequisites | System requirements, LLM provider setup, environment configuration |
| Quick Start | Get CodeWiki running and generate your first documentation in under 5 minutes |
| First Steps | Explore key features: filtering, GitHub Pages, web interface, and configuration patterns |
Guides for contributors and developers working on CodeWiki itself.
| Document | Description |
|---|---|
| Development Overview | Project structure, technology stack, and quick navigation |
| Environment Setup | IDE configuration, VS Code extensions, code style, linting |
| Local Development | Clone, run, debug, Docker setup, and development workflow |
| Architecture Overview | High-level system design, data flow, and key design decisions |
Deep-dive technical documentation for each CodeWiki module, generated by CodeWiki from its own source code.
| Module | Description |
|---|---|
| Repository Overview | End-to-end architecture and module summary |
| CLI Core | Command-line engine, config management, Git integration, progress tracking |
| Agent Orchestration | AI agent lifecycle, tool injection, request limits, module persistence |
| LLM Services | LLM provider abstraction, fallback chaining, multi-provider configuration |
| Documentation Generation | Orchestration backbone, bottom-up processing, synthetic module fallback |
| Dependency Analysis | Multi-language AST parsing, call graph construction, dependency graph building |
| Frontend Core | FastAPI web app, background job queue, caching, Markdown rendering |
| Utils | Shared FileManager for file and JSON I/O |
| Module | Description |
|---|---|
| Language Analyzers | Per-language Tree-sitter AST analyzers (Python, JS, TS, Java, C#, C, C++, PHP) |
| Dependency Graph Building | Graph construction from parsed AST data |
| AST and Dependency Parsing | Low-level AST traversal and dependency extraction |
| Analysis Models | Data models for analysis results |
| Analysis Core | Core analysis service and call graph resolution |
| Core Models | Foundational domain models (Node, CallRelationship, AnalysisResult) |
Visual Mermaid diagrams are available in ./diagrams/architecture/. Key diagrams include:
README.mmd— Full system architecture and pipeline overviewcli-core.mmd— CLI Core component and flow diagramsagent-orchestration.mmd— Agent lifecycle and tool injection diagramsllm-services.mmd— LLM provider and fallback chain diagramsdocumentation-generation.mmd— Documentation generation pipelinedependency-analysis.mmd— Dependency analysis pipelinefrontend-core.mmd— Web app request and job lifecycle diagramslanguage-analyzers.mmd— Language analyzer component diagramscore-models.mmd— Domain model class diagramsanalysis-core.mmd— Analysis service flow diagrams
All diagram source files are located at ./diagrams/architecture/.
| Resource | Link |
|---|---|
| Project README | ../README.md |
| Contributing Guide | ../CONTRIBUTING.md |
| License | ../LICENSE.md |
| OpenMSP Community Slack | Join here |
| Flamingo Platform | flamingo.run |
| OpenFrame | openframe.ai |
| GitHub Repository | github.com/flamingo-stack/CodeWiki |
Documentation generated by 🦩 Flamingo AI Technical Writer