A monorepo containing various utility scripts, tools, and applications for development, automation, and AI-powered tasks.
16
stars
121
commits
Python
primary language
Mar 22, 2026
updated
A monorepo containing various utility scripts, tools, and applications for development, automation, and AI-powered tasks. Like what you see, or find it useful? Drop a star!!!
A FastAPI-based service for generating embeddings from images and text queries using the ColQwen2.5 model.
Key Features:
Quick Start:
cd colqwen_fastapi
pip install -r requirements.txt
uvicorn app:app --host 0.0.0.0 --port 7000 --reload
A high-performance FastAPI service for generating embeddings from images and text queries using the ColModernVBert model from the ColPali engine.
Key Features:
Quick Start:
cd colmodernvbert_fastapi
pip install -r requirements.txt
python main.py
Docker:
cd colmodernvbert_fastapi
docker compose up --build
A lightweight FastAPI service providing columnar analytics storage for OCR data using DuckDB. Designed to work seamlessly with document processing pipelines.
What it does:
Key technical features:
Quick Start:
cd duckdb_fastapi
cp .env.example .env
pip install -r requirements.txt
python main.py
Docker:
cd duckdb_fastapi
docker compose up -d
An Audio Retrieval-Augmented Generation (RAG) app that combines ColQwen2.5-Omni multimodal model with OpenAI's GPT-4 audio capabilities for intelligent audio content analysis.
What it does:
Key technical features:
Usage: Run python main.py and follow the intuitive web interface to process videos and ask questions!
A powerful multimodal document retrieval system that combines ColPali embeddings with vector search for intelligent document analysis.
What it does:
Key technical features:
Usage: Simply run python main.py and start asking questions about your documents!
An interactive web application for panoptic segmentation using the EOMT (Encoder-only Mask Transformer) model - a minimalist Vision Transformer approach for image segmentation.
What it does:
Key highlights: Up to 4ร faster than complex methods, Gradio interface, comprehensive analytics
A little script to run the ViDoRe (v1 and v2) benchmarks from MTEB using the official ViDoRe model wrapper.
Quick Start:
cd vidore_benchmark
pip install -r requirements.txt \
&& pip install --upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu129
python app.py
A GPU-friendly FastAPI wrapper around deepseek-ai/DeepSeek-OCR that turns images and PDFs into cleaned text, markdown with inline figures, bounding boxes, and annotated previews.
What it does:
/health, /info, and /api/ocr endpoints with automatic CORS handling and detailed startup logs.Quick Start:
cd deepseek-ocr
cp .env.example .env
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
python main.py
Docker (GPU):
cd deepseek-ocr
docker compose up --build
A GPU-aware FastAPI service based on PaddleOCR-VL for extracting rich document structure from images and PDFs.
What it does:
Key highlights: Docker + Compose manifests with CUDA 13.0 base image, injectable pipeline factory for testing, detailed logging.
A high-performance image generation application powered by the Z-Image-Turbo model with a Gradio interface for text-to-image synthesis. Based on the official Gradio demo, refactored with additional features.
What it does:
Quick Start:
cd z-image-turbo
cp .env.example .env
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
uv pip install -r requirements.txt
python app.py
Key highlights: Gradio-based web UI, configurable attention backends, model warmup for production, 12GB+ VRAM recommended.
A Gradio-based visual document retrieval app powered by ColQwen3.5-4.5B and colpali-engine. Upload document pages (images or PDFs), index them once, then run multiple text queries to find the most relevant pages using ColBERT-style MaxSim scoring.
Key Features:
Quick Start:
cd colqwen3.5-4B
uv venv .venv --python 3.12 && source .venv/bin/activate
uv pip install -r requirements.txt
HF_TOKEN=your_token python app.py
More utility scripts and tools will be added to this monorepo over time. Each project will have its own directory with dedicated documentation.
Clone the repository:
git clone https://github.com/athrael.soju/little-scripts.git
cd little-scripts
Navigate to a specific project:
cd colnomic_qdrant_rag
Follow the project-specific README for detailed setup instructions.
little-scripts/
โโโ colqwen_fastapi/ # ColQwen2.5 FastAPI embedding service
โโโ colmodernvbert_fastapi/ # ColModernVBert FastAPI embedding service
โโโ duckdb_fastapi/ # DuckDB analytics service for OCR data
โโโ colqwen_omni/ # Audio RAG system with ColQwen2.5-Omni
โโโ colnomic_qdrant_rag/ # Multimodal document retrieval system
โโโ eomt_panoptic_seg/ # Image segmentation web app
โโโ deepseek-ocr/ # FastAPI wrapper for DeepSeek-OCR
โโโ paddleocr_vl/ # PaddleOCR-VL FastAPI service
โโโ vidore_benchmark/ # ViDoRe benchmark runner
โโโ z-image-turbo/ # Z-Image-Turbo text-to-image generation
โโโ colqwen3.5-4B/ # ColQwen3.5 visual document retrieval
โโโ [future-projects]/ # Additional projects will be added here
We welcome contributions to any of the projects in this monorepo!
Before contributing, please set up pre-commit hooks to ensure code quality:
Install pre-commit:
pip install pre-commit
Install the hooks:
pre-commit install
Run hooks on all files (optional):
pre-commit run --all-files
The pre-commit hooks will automatically run on each commit to check for:
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)Symptoms:
pre-commit not found. Did you forget to activate your virtualenv?Cause: The pre-commit hook is trying to use a Python executable path that's not accessible from the IDE's environment (e.g., WSL paths when running on Windows).
Solution:
Modify the .git/hooks/pre-commit file to use the system Python instead of a specific virtualenv path:
Open the pre-commit hook file:
# Edit .git/hooks/pre-commit
Find the conditional block (around line 12-21) and replace:
# Change this:
if [ -x "$INSTALL_PYTHON" ]; then
exec "$INSTALL_PYTHON" -mpre_commit "${ARGS[@]}"
# To this:
if command -v python > /dev/null; then
exec python -mpre_commit "${ARGS[@]}"
Test the fix:
# This should now work from both terminal and IDE
git commit -m "Test commit"
Alternative Solutions:
git commit --no-verify -m "message"Symptoms:
Solution:
Run ruff manually to see specific issues:
ruff check .
ruff format .
Configure ruff settings in pyproject.toml (if needed):
[tool.ruff]
line-length = 88
target-version = "py310"
Run pre-commit on all files to fix batch issues:
pre-commit run --all-files
Symptoms:
Common Solutions:
Check if ports are already in use:
# Windows
netstat -ano | findstr :6333
# Linux/macOS
lsof -i :6333
Stop conflicting services:
docker-compose down
docker system prune -f
Restart Docker daemon and try again
Solution:
# Fix volume permissions
sudo chown -R $USER:$USER ./data
Symptoms:
Solutions:
Verify you're in the correct environment:
which python
pip list | grep [package-name]
Reinstall dependencies:
pip install -r requirements.txt
Check Python path conflicts:
python -c "import sys; print(sys.path)"
If you encounter issues not covered here:
Open source - feel free to use and modify as needed.
โญ If you find this repository useful, please consider giving it a star!
118 commits
3 commits
Python
97.9%
Dockerfile
1.7%
A monorepo containing various utility scripts, tools, and applications for development, automation, and AI-powered tasks.
16
stars
121
commits
Python
primary language
Mar 22, 2026
updated
A monorepo containing various utility scripts, tools, and applications for development, automation, and AI-powered tasks. Like what you see, or find it useful? Drop a star!!!
A FastAPI-based service for generating embeddings from images and text queries using the ColQwen2.5 model.
Key Features:
Quick Start:
cd colqwen_fastapi
pip install -r requirements.txt
uvicorn app:app --host 0.0.0.0 --port 7000 --reload
A high-performance FastAPI service for generating embeddings from images and text queries using the ColModernVBert model from the ColPali engine.
Key Features:
Quick Start:
cd colmodernvbert_fastapi
pip install -r requirements.txt
python main.py
Docker:
cd colmodernvbert_fastapi
docker compose up --build
A lightweight FastAPI service providing columnar analytics storage for OCR data using DuckDB. Designed to work seamlessly with document processing pipelines.
What it does:
Key technical features:
Quick Start:
cd duckdb_fastapi
cp .env.example .env
pip install -r requirements.txt
python main.py
Docker:
cd duckdb_fastapi
docker compose up -d
An Audio Retrieval-Augmented Generation (RAG) app that combines ColQwen2.5-Omni multimodal model with OpenAI's GPT-4 audio capabilities for intelligent audio content analysis.
What it does:
Key technical features:
Usage: Run python main.py and follow the intuitive web interface to process videos and ask questions!
A powerful multimodal document retrieval system that combines ColPali embeddings with vector search for intelligent document analysis.
What it does:
Key technical features:
Usage: Simply run python main.py and start asking questions about your documents!
An interactive web application for panoptic segmentation using the EOMT (Encoder-only Mask Transformer) model - a minimalist Vision Transformer approach for image segmentation.
What it does:
Key highlights: Up to 4ร faster than complex methods, Gradio interface, comprehensive analytics
A little script to run the ViDoRe (v1 and v2) benchmarks from MTEB using the official ViDoRe model wrapper.
Quick Start:
cd vidore_benchmark
pip install -r requirements.txt \
&& pip install --upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu129
python app.py
A GPU-friendly FastAPI wrapper around deepseek-ai/DeepSeek-OCR that turns images and PDFs into cleaned text, markdown with inline figures, bounding boxes, and annotated previews.
What it does:
/health, /info, and /api/ocr endpoints with automatic CORS handling and detailed startup logs.Quick Start:
cd deepseek-ocr
cp .env.example .env
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
python main.py
Docker (GPU):
cd deepseek-ocr
docker compose up --build
A GPU-aware FastAPI service based on PaddleOCR-VL for extracting rich document structure from images and PDFs.
What it does:
Key highlights: Docker + Compose manifests with CUDA 13.0 base image, injectable pipeline factory for testing, detailed logging.
A high-performance image generation application powered by the Z-Image-Turbo model with a Gradio interface for text-to-image synthesis. Based on the official Gradio demo, refactored with additional features.
What it does:
Quick Start:
cd z-image-turbo
cp .env.example .env
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
uv pip install -r requirements.txt
python app.py
Key highlights: Gradio-based web UI, configurable attention backends, model warmup for production, 12GB+ VRAM recommended.
A Gradio-based visual document retrieval app powered by ColQwen3.5-4.5B and colpali-engine. Upload document pages (images or PDFs), index them once, then run multiple text queries to find the most relevant pages using ColBERT-style MaxSim scoring.
Key Features:
Quick Start:
cd colqwen3.5-4B
uv venv .venv --python 3.12 && source .venv/bin/activate
uv pip install -r requirements.txt
HF_TOKEN=your_token python app.py
More utility scripts and tools will be added to this monorepo over time. Each project will have its own directory with dedicated documentation.
Clone the repository:
git clone https://github.com/athrael.soju/little-scripts.git
cd little-scripts
Navigate to a specific project:
cd colnomic_qdrant_rag
Follow the project-specific README for detailed setup instructions.
little-scripts/
โโโ colqwen_fastapi/ # ColQwen2.5 FastAPI embedding service
โโโ colmodernvbert_fastapi/ # ColModernVBert FastAPI embedding service
โโโ duckdb_fastapi/ # DuckDB analytics service for OCR data
โโโ colqwen_omni/ # Audio RAG system with ColQwen2.5-Omni
โโโ colnomic_qdrant_rag/ # Multimodal document retrieval system
โโโ eomt_panoptic_seg/ # Image segmentation web app
โโโ deepseek-ocr/ # FastAPI wrapper for DeepSeek-OCR
โโโ paddleocr_vl/ # PaddleOCR-VL FastAPI service
โโโ vidore_benchmark/ # ViDoRe benchmark runner
โโโ z-image-turbo/ # Z-Image-Turbo text-to-image generation
โโโ colqwen3.5-4B/ # ColQwen3.5 visual document retrieval
โโโ [future-projects]/ # Additional projects will be added here
We welcome contributions to any of the projects in this monorepo!
Before contributing, please set up pre-commit hooks to ensure code quality:
Install pre-commit:
pip install pre-commit
Install the hooks:
pre-commit install
Run hooks on all files (optional):
pre-commit run --all-files
The pre-commit hooks will automatically run on each commit to check for:
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)Symptoms:
pre-commit not found. Did you forget to activate your virtualenv?Cause: The pre-commit hook is trying to use a Python executable path that's not accessible from the IDE's environment (e.g., WSL paths when running on Windows).
Solution:
Modify the .git/hooks/pre-commit file to use the system Python instead of a specific virtualenv path:
Open the pre-commit hook file:
# Edit .git/hooks/pre-commit
Find the conditional block (around line 12-21) and replace:
# Change this:
if [ -x "$INSTALL_PYTHON" ]; then
exec "$INSTALL_PYTHON" -mpre_commit "${ARGS[@]}"
# To this:
if command -v python > /dev/null; then
exec python -mpre_commit "${ARGS[@]}"
Test the fix:
# This should now work from both terminal and IDE
git commit -m "Test commit"
Alternative Solutions:
git commit --no-verify -m "message"Symptoms:
Solution:
Run ruff manually to see specific issues:
ruff check .
ruff format .
Configure ruff settings in pyproject.toml (if needed):
[tool.ruff]
line-length = 88
target-version = "py310"
Run pre-commit on all files to fix batch issues:
pre-commit run --all-files
Symptoms:
Common Solutions:
Check if ports are already in use:
# Windows
netstat -ano | findstr :6333
# Linux/macOS
lsof -i :6333
Stop conflicting services:
docker-compose down
docker system prune -f
Restart Docker daemon and try again
Solution:
# Fix volume permissions
sudo chown -R $USER:$USER ./data
Symptoms:
Solutions:
Verify you're in the correct environment:
which python
pip list | grep [package-name]
Reinstall dependencies:
pip install -r requirements.txt
Check Python path conflicts:
python -c "import sys; print(sys.path)"
If you encounter issues not covered here:
Open source - feel free to use and modify as needed.
โญ If you find this repository useful, please consider giving it a star!
118 commits
3 commits
Python
97.9%
Dockerfile
1.7%