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: Uses DeepAgents' built-in code search tools
📦 Quick Start
Installation
# Install CodeViewX
pip install codeviewx
# 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? Upgrade
deepagentsand reinstall CodeViewX dependencies - 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, and LangChain.
⭐ Star this project if you find it helpful!
Metadata
Release files for codeviewx 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| codeviewx-0.2.9.tar.gz | 160.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codeviewx-0.2.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 203.3 kB
Release files / codeviewx-0.2.9.tar.gz
| Download URL | codeviewx-0.2.9.tar.gz |
|---|---|
| Size | 160.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc1fc982440c23ad980cfea11349771853c5105adef416b5edef648eacc4639d
|
|
BLAKE2b-256 checksum How to use checksums |
085fd0e3db17acb90904f42db0b042cd5e8acd230dcae64e5850c29bf6c8282e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / codeviewx-0.2.9-py3-none-any.whl
| Download URL | codeviewx-0.2.9-py3-none-any.whl |
|---|---|
| Size | 43.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75a095229c807a03bf49dd3826145b7902187a72afd3864debe481c8a903b69f
|
|
BLAKE2b-256 checksum How to use checksums |
ef1b0f6c15ff2834c208e57c26bad189bf9b58595b16af38555408e38cad8267
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|