Documentation Index
Fetch the complete documentation index at: https://docs.grigori.in/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before getting started, ensure you have the following installed:Python 3.12+
Required for running the application
Redis Server
Used for task queuing and job storage
Docker (Optional)
For containerized deployment
uv Package Manager
Recommended for fast dependency management
Option 1: Docker Compose (Recommended)
The fastest way to get started is using Docker Compose:Start the services
- API server on port 8000
- Redis server
- Celery worker for processing
Option 2: Development Setup with uv
For local development, we recommend usinguv for fast package management:
Option 3: Manual Installation
If you prefer not to use uv:Your First Conversion
Once everything is running, let’s convert your first document:API Endpoints
Submit Job
POST /api/v1/jobsUpload a file for conversionGet Job Status
GET /api/v1/jobs/{job_id}Check conversion progressDownload Result
GET /api/v1/jobs/{job_id}/resultGet converted documentHealth Check
GET /api/v1/healthCheck API health statusConfiguration Options
Key environment variables you can configure:Basic Settings
Basic Settings
File Storage
File Storage
OCR Settings
OCR Settings
Webhook Configuration
Webhook Configuration
Testing Your Setup
Run the health check to ensure everything is working:You’re all set! Your Document Converter is ready to process files. Check out the API Reference for detailed endpoint documentation.
Next Steps
Explore Features
Learn about supported formats and conversion options
Configure OCR
Set up OCR providers for image and PDF processing
Set Up Webhooks
Configure real-time notifications for job completion
Production Deployment
Deploy to production with scaling and monitoring
Troubleshooting
Redis Connection Issues
Redis Connection Issues
If you see Redis connection errors:
- Ensure Redis is running:
redis-cli ping - Check the Redis URL in your
.envfile - Verify firewall settings if using remote Redis
OCR Initialization Errors
OCR Initialization Errors
If OCR providers fail to initialize:
- For EasyOCR: Ensure PyTorch is properly installed
- For PaddleOCR: Check model downloads in
./models/ - For Mistral: Verify your API key in
.env
File Upload Errors
File Upload Errors
If file uploads fail:
- Check file size limits in configuration
- Verify upload directory permissions
- Ensure supported file format