@floomhq/tagme
v0.1.0
Published
AI desktop file auto-labeler (OCR + local vision) for screenshots and docs
Maintainers
Readme
Tagme
Tagme is an AI file auto-labeler for macOS that turns messy screenshots and downloads into searchable, context-rich filenames.
It combines Tesseract OCR and Ollama vision (llava:7b) to identify:
- source app/site (
floom,github,linkedin) - screen intent (
token-setup,dashboard,signin) - task context (
mcp-config,api-token,agent-auth)
Why Tagme
- Automatic desktop cleanup without deleting files
- Better screenshot search and retrieval
- Works locally with private on-device inference
- Optimized for founders, operators, and heavy screenshot workflows
Example output
Input:
Screenshot 2026-04-28 at 20.05.00.png
Output:
2026-04-28__screenshot-floom-token-setup-mcp-config__screenshot-2026-04-28-at-20-05.png
Features
- Watches
Desktop,Downloads, andDocuments - OCR text extraction via
tesseract - Vision context extraction via
ollama+llava:7b - Bucketed labels:
source + screen_type + task_topic - SQLite state tracking and log history
- launchd automation for background scans
Install (macOS)
- Install dependencies:
brew install tesseract imagemagick ollama- Pull model:
ollama pull llava:7b- Install Python package locally:
pip install .- Copy config:
mkdir -p ~/.config/file-labeler
cp config/config.example.json ~/.config/file-labeler/config.json- Install launch agent:
cp launchd/com.federico.filelabeler.plist ~/Library/LaunchAgents/
launchctl unload ~/Library/LaunchAgents/com.federico.filelabeler.plist >/dev/null 2>&1 || true
launchctl load ~/Library/LaunchAgents/com.federico.filelabeler.plistCLI
Run one scan:
tagmeConfig
Config file:
~/.config/file-labeler/config.json
Main keys:
watch_dirsenabled_sincerenameollama.modelocr.enabled
Logs and DB
- Log:
~/.local/state/file-labeler/labeler.log - State DB:
~/.local/state/file-labeler/labels.db
npm wrapper
This repo includes @floomhq/tagme for JS users. It wraps the Python CLI:
npx @floomhq/tagmePyPI
Package name:
tagme
License
MIT
