Fast metadata-based file catalog. No content indexed — only filenames, sizes, dates, and extensions.
# Build/rebuild the index (run once, or periodically)
python3 scripts/indexer.py --rebuild
# Update incrementally (fast — adds new, removes deleted)
python3 scripts/indexer.py --update
# Search by filename
python3 scripts/indexer.py --search "budget"
# Filter by extension
python3 scripts/indexer.py --search "report" --ext .pdf
# Filter by size
python3 scripts/indexer.py --search "" --min-size 10485760 # > 10MB
# Filter by date
python3 scripts/indexer.py --search "" --after 2026-03-01
# Index statistics
python3 scripts/indexer.py --stats
~/Documenti and ~/Scaricati — same as RAG.ssh, .gnupg, .config, credentials, .local, .cache, .Trash~/.local/share/file-indexer/catalog.db| Yes | No |
|---|---|
| ----- | ----- |
| Filename | File contents |
| Extension | Full text |
| Size | Embeddings |
| Modified date | Preview |
| Directory path | Thumbnails |
Add to cron or heartbeat for periodic updates:
python3 scripts/indexer.py --update
Works well alongside local-rag: use this for "where is that file?" and RAG for "what does that file say?"
共 1 个版本