SlothSync: A Local‑First AI‑Powered File Sync Tool for Hacktoberfest Week 3
说明与用途
SlothSync 是一个本地优先的文件同步工具,使用本地 LLM 生成更改摘要并将文件备份到本地位置,确保隐私并避免云成本。
问题
Users need a privacy‑preserving, cost‑free way to keep documents synchronized across devices without uploading data to the cloud.
结果
SlothSync provides a lightweight, privacy‑first file sync solution that automatically watches directories, summarizes changes with a local LLM, and backs up files to a specified local destination without incurring cloud costs.
工作流
- Install Ollama and pull Gemma 2B model
- Clone SlothSync repo and install Python dependencies
- Run slothsync.py with --watch and --backup options
- Watchdog monitors filesystem events
- Events are debounced and batched
- Local Gemma model generates concise change summary
- Summary is logged in .slothsync/logs
- Changed files are copied to backup location preserving timestamps
证据
All AI inference runs on‑device using an open‑weight model (e.g., gemma2:2b via Ollama). No data ever leaves your machine.
Zero cost – No per‑request API fees. The only requirement is a local model runner.
Detects new or changed files, generates concise change summaries, and can even suggest better folder structures.
- 记录日期: 2026-10-20T22:56:02.190Z