Codeviewx
CodeViewX is an intelligent code documentation generator based on Anthropic Claude and DeepAgents framework that automatically analyzes codebases and generates professional technical documentation.
Install / Use
/learn @dean2021/CodeviewxQuality Score
Category
Development & EngineeringSupported Platforms
README
CodeViewX
AI-Powered Code Documentation Generator
中文 | English
CodeViewX automatically analyzes your codebase and generates professional technical documentation using AI (Anthropic Claude + DeepAgents + LangChain).
✨ Key Features
- 🤖 AI-Powered Analysis: Automatically understands code structure and business logic
- 📝 Complete Documentation: Generates 8 standard chapters (overview, quick start, architecture, core mechanisms, data models, API reference, development guide, testing)
- 🌐 Multi-Language: Supports Chinese, English, Japanese, Korean, French, German, Spanish, Russian
- 🖥️ Documentation Browser: Built-in web server for elegant documentation display
- ⚡ Fast Search: Integrated ripgrep for high-speed code search
📦 Quick Start
Installation
# Install CodeViewX
pip install codeviewx
# Install ripgrep (code search tool)
brew install ripgrep # macOS
# sudo apt install ripgrep # Ubuntu/Debian
# Configure API Key and base url
export ANTHROPIC_AUTH_TOKEN='your-api-key-here'
export ANTHROPIC_BASE_URL='https://api.anthropic.com/v1'
Get your API key at Anthropic Console
Basic Usage
# Generate documentation for current directory
codeviewx
# Specify project path and language
codeviewx -w /path/to/project -l English -o docs
# Start documentation browser
codeviewx --serve -o docs
Python API
from codeviewx import generate_docs, start_document_web_server
# Generate documentation
generate_docs(
working_directory="/path/to/project",
output_directory="docs",
doc_language="English"
)
# Start web server
start_document_web_server("docs")
📚 Documentation
For complete documentation, visit the docs/en directory:
- 📖 Overview - Tech stack and project structure
- 🚀 Quick Start - Detailed installation and configuration
- 🏗️ Architecture - Architecture design and components
- ⚙️ Core Mechanisms - Deep dive into how it works
- 🔌 API Reference - Complete API documentation
- 👨💻 Development Guide - Development and contribution guide
- 🧪 Testing - Testing strategies and examples
- 🔒 Security - Security best practices
- ⚡ Performance - Performance optimization
- 🚀 Deployment - Deployment guide
- 🔧 Troubleshooting - Common issues and solutions
🔧 Troubleshooting
Having issues? Check the detailed documentation for help.
Quick Tips:
- API key error? Ensure
ANTHROPIC_AUTH_TOKENenvironment variable is set correctly - Search not working? Check if
ripgrepis installed - More questions? See docs/en for complete documentation
🤝 Contributing
Contributions are welcome! See Contributing Guide for details.
📄 License
GNU General Public License v3.0 - see LICENSE file.
🙏 Acknowledgments
Built with Anthropic Claude, DeepAgents, LangChain, and ripgrep.
⭐ Star this project if you find it helpful!
Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.6kCommit, push, and open a PR
