AI-Optimized Documentation Browser for Rapid Development
Project description
VeriDoc is a lightweight, open-source documentation browser designed for AI-assisted development workflows. It provides sub-second documentation access to maintain flow state during rapid development cycles.
Features
- ⚡ Ultra-fast startup (< 500ms) and response times (< 200ms)
- 🪶 Lightweight (< 100MB memory) compared to heavy IDEs
- 📚 Scalable performance - works with projects of any size
- 🔍 Full-text search across all documentation
- 📱 Three-pane layout with file tree, content viewer, and terminal
- 🎨 Rich rendering - Markdown, Mermaid diagrams, syntax highlighting
- 🖥️ Terminal integration with security controls
- 🔐 Secure with comprehensive path validation and audit logging
Screenshots
Three-pane interface: file tree, content viewer, and integrated terminal
Installation
Install from PyPI (Recommended)
pip install veridoc
Install from Source
# Clone the repository
git clone https://github.com/benny-bc-huang/veridoc.git
cd veridoc
# Install in development mode
pip install -e .
# Or install directly
pip install .
Usage
# Launch in current directory
veridoc
# Launch with specific directory or file
veridoc docs/
veridoc README.md
veridoc README.md 42 # Jump to line 42
Coming Soon: PyPI Installation
Once published to PyPI, you'll be able to install with:
pip install veridoc
Quick Start
# Basic usage
veridoc # Current directory
veridoc --port 5001 # Custom port
veridoc --no-browser # Start without opening browser
veridoc --help # Show all options
# Development mode
python app.py # Alternative startup method
User Interface
Navigation
- File Tree Panel: Browse your documentation structure
- Content Viewer: Rich rendering with syntax highlighting
- Terminal Panel: Integrated command line with security controls
Keyboard Shortcuts
Ctrl+P/Ctrl+/- Global searchCtrl+F- Find in current fileCtrl+B- Toggle file tree panelCtrl+K- Copy current file pathCtrl+``- Toggle terminal panel
File Support
- Markdown: Enhanced rendering with Mermaid diagrams
- Code files: Syntax highlighting for 30+ languages
- Large files: Smart pagination for files > 1MB
- Binary files: Safe detection and handling
Use Cases
AI-Assisted Development
- Documentation verification during AI-generated code review
- Context gathering for AI prompts and conversations
- Project understanding when working with unfamiliar codebases
- Fast reference lookup without breaking development flow
Documentation Browsing
- Technical documentation for teams and projects
- API reference with fast search and navigation
- Code documentation with syntax highlighting
- Cross-reference lookup with table of contents
Performance
VeriDoc is optimized for speed and efficiency:
- Startup time: < 500ms (vs 3-8s for heavy IDEs)
- Memory usage: < 100MB (vs 200-500MB for IDEs)
- Search response: < 200ms across 1000+ files
- File loading: < 500ms for typical documentation
- Large file handling: Smooth pagination for 10MB+ files
Security
- Path validation: Prevents directory traversal attacks
- Command filtering: Terminal security with configurable policies
- Audit logging: Complete activity tracking
- Read-only design: Safe documentation access by default
Configuration
VeriDoc works out of the box with sensible defaults. Configuration options:
# Environment variables
export BASE_PATH=/path/to/docs # Default: current directory
export PORT=5000 # Default: 5000
# Runtime options
veridoc --port 8080 # Custom port
veridoc --no-browser # Headless mode
API Access
VeriDoc provides a REST API for programmatic access:
# Health check
curl http://localhost:5000/api/health
# List files
curl http://localhost:5000/api/files
# Search
curl "http://localhost:5000/api/search?q=query&limit=10"
# Git status
curl http://localhost:5000/api/git/status
Requirements
- Python: 3.8 or higher
- Operating Systems: Linux, macOS, Windows
- Browser: Any modern browser for the web interface
- Memory: Minimum 256MB available RAM
Project Structure
veridoc/
├── veridoc/ # Main Python package
│ ├── cli.py # Command-line interface
│ ├── server.py # FastAPI web server
│ ├── core/ # Backend modules (security, file handling, search)
│ ├── models/ # API data models
│ └── frontend/ # Web application (HTML, CSS, JavaScript)
├── tests/ # Test suite (100% unit test coverage)
├── docs/ # Documentation and specifications
├── app.py # Development server entry point
└── README.md # This file
Contributing
We welcome contributions! See our contributing guidelines for details on:
- Setting up the development environment
- Running tests and quality checks
- Submitting pull requests
- Reporting issues
Support
- Documentation: Complete guides in the
/docsdirectory - Issues: Report bugs and feature requests on GitHub Issues
- Discussions: Join conversations on GitHub Discussions
License
MIT License - see LICENSE file for details.
Project Status
VeriDoc is production-ready with:
- ✅ Core functionality complete
- ✅ Comprehensive test suite (100% unit test coverage)
- ✅ Security audit and validation
- ✅ Performance optimization
- ✅ CI/CD pipeline and quality checks
Made for developers who value speed, simplicity, and flow state in their AI-assisted workflows.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file veridoc-1.0.2.tar.gz.
File metadata
- Download URL: veridoc-1.0.2.tar.gz
- Upload date:
- Size: 164.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03f1b13d4528fd97d4c90c8bbdfe2adbaac2607d7184ed949e49250c5fe0a6de
|
|
| MD5 |
d050439eff338f00bb497aede93dddbd
|
|
| BLAKE2b-256 |
53fff416cc5aca0929e34ca6116f9acb0d05f91a029055999c9a930ed47d9b4b
|
File details
Details for the file veridoc-1.0.2-py3-none-any.whl.
File metadata
- Download URL: veridoc-1.0.2-py3-none-any.whl
- Upload date:
- Size: 102.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47a2ffda811eb9e9736ddf84bcd0debfeed817e66f8b59141875055f15774224
|
|
| MD5 |
2e774f6ba3519b8467fed73a3623eda3
|
|
| BLAKE2b-256 |
f448db593a1eaad1f0e238640d1d1d35d63ecf66108bd16b80c3eb048a187055
|