← 返回
未分类 中文

File Indexer

Fast filesystem catalog for finding files by name, date, type, or size. Indexes metadata only (no content). Uses SQLite for instant lookups. Triggers on "fin...
快速文件系统目录,用于按名称、日期、类型或大小查找文件。仅索引元数据(不含内容),使用SQLite实现即时查询。触发于 "fin...
lookupmark
未分类 clawhub v1.2.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 400
下载
💾 0
安装
1
版本
#latest

概述

File Indexer

Fast metadata-based file catalog. No content indexed — only filenames, sizes, dates, and extensions.

Usage

# 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

Security

  • ALLOWED_ROOTS: Only ~/Documenti and ~/Scaricati — same as RAG
  • BLOCKED_DIRS: .ssh, .gnupg, .config, credentials, .local, .cache, .Trash
  • Zero content: Only metadata (name, size, date, extension) — never reads file contents
  • No secrets: Paths to sensitive dirs are never indexed
  • Local only: SQLite DB at ~/.local/share/file-indexer/catalog.db

What Gets Indexed

YesNo
----------
FilenameFile contents
ExtensionFull text
SizeEmbeddings
Modified datePreview
Directory pathThumbnails

Automation

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 个版本

  • v1.2.0 当前
    2026-05-03 08:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Local RAG

lookupmark
使用 all‑MiniLM‑L6‑v2 嵌入和 ms‑marco‑MiniLM‑L‑6‑v2 跨编码器重排序,结合 ChromaDB 与父子分块实现本地文件的语义搜索。
★ 0 📥 504

Tailscale Manager

lookupmark
在聊天中管理 Tailscale tailnet,检查状态、列出设备、ping 主机、运行网络诊断、检查 serve/funnel 配置,所有公网 IP 自动...
★ 0 📥 412

File Sender

lookupmark
Find and send local files to a chat channel (Telegram, Discord, WhatsApp, Signal, Slack). Also manages encrypted credent
★ 0 📥 458