← All works
OrbitFiles
A local-first AI file organiser: the model only makes suggestions, and every step can be previewed and undone.
Sole developer
- Rust
- Tauri
- React
- SQLite WAL
- FTS5
- BLAKE3
- Ollama
Background
Letting a large model help organise files is convenient, but letting it move or delete files directly is dangerous: one wrong classification could move hundreds of files to the wrong place, with no way to recover.
What the system does
Scan metadata→model suggests categories→build an operation plan→user previews and confirms→apply→undo available
- AI classification suggestions (local Ollama or an OpenAI-compatible endpoint)
- Preview of every operation and conflict before anything runs
- Any step can be undone; after a power cut a run can resume or roll back
- Full-text search and duplicate detection
- Simplified Chinese and English interface
My work
- Safety flow: designed PLAN → PREVIEW → APPLY → UNDO. The model reads metadata only and outputs classification suggestions; the planner turns them into typed operations, which run only after validation on the Rust side and confirmation by the user.
- Transaction log: every operation is recorded in SQLite WAL and moves through PREPARED → RUNNING → COMMITTED. A preflight check looks for conflicts before applying, and before an undo the file size and modification time are verified to confirm no other program has touched the file.
- Search and deduplication: FTS5 for full-text search, BLAKE3 for identifying duplicate files.
- Engineering: CI runs clippy, cargo test and npm test, and tests the MSI installer in a clean environment.
Problems and fixes
What if someone has changed the file by the time of the undo? Before undoing, file size and modification time are compared; if they differ, nothing is overwritten, so an undo cannot destroy the user’s newer changes.
Results
- MIT-licensed, version 0.1.0-alpha.2; the release provides NSIS and MSI installers.
Retrospective
- The installers are not code-signed yet, so Windows warns about an unknown publisher.