π¦ Montscan v1.3.0
What's New
Folder-Based Ingress π
Montscan can now watch a local directory for incoming PDFs instead of (or alongside) FTP and Samba. Drop a scanned document into a folder and Montscan will rename it with an AI-generated name β either in place or by moving it to a separate output folder.
Configurable Ollama GPU Acceleration β‘
Ollama in Docker Compose can now run on CPU or NVIDIA GPU, switchable entirely from .env β no more editing docker-compose.yml by hand.
Changes
- Folder Watcher Ingress: New
FOLDER_ENABLED,FOLDER_INPUT_DIR,FOLDER_OUTPUT_DIR, andFOLDER_POLL_INTERVAL_SECsettings to monitor a local directory for new PDFs - Rename-in-Place or Move-to-Output: Omit
FOLDER_OUTPUT_DIRto rename files where they sit, or set it to move renamed files to a separate output directory - Docker GPU Toggle: New
COMPOSE_PROFILESandOLLAMA_GPU_COUNTvariables select between CPU-only and GPU-accelerated Ollama containers - Documentation Updates: README now covers folder watcher setups and GPU configuration
Configuration
Enable the folder watcher:
FOLDER_ENABLED=true
FOLDER_INPUT_DIR=./input
FOLDER_OUTPUT_DIR=./output # omit to rename in place
FOLDER_POLL_INTERVAL_SEC=5Enable GPU acceleration for Ollama in Docker Compose:
COMPOSE_PROFILES=gpu
OLLAMA_GPU_COUNT=1Leave COMPOSE_PROFILES=cpu (or unset) for CPU-only.
Technical Details
- Added
server/folder.gofor the folder watcher loop andproviders/local.gofor rename/move handling - Updated
config/config.goandmain.goto wire up the new folder ingress - Updated
agent/agent.goto support the local provider - Split the Ollama service in
docker-compose.ymlintoollama(CPU) andollama-gpu(NVIDIA) variants behind Compose profiles, sharing config via a YAML anchor
Upgrade Notes
The folder watcher is disabled by default (FOLDER_ENABLED=false); existing FTP/Samba setups are unaffected. Ollama continues to run on CPU by default in Docker Compose unless COMPOSE_PROFILES=gpu is set.
Full Changelog: View commits since v1.2.0