mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-21 04:59:47 +08:00
Move Auth & Access (social login, OIDC, invite codes) to v2.1 and Teams to v2.2, shifting Sharing, Image Bed, and Branding to v2.3–v2.5. Remove completed items (Drizzle migration, SVAR replacement) from Image Bed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.9 KiB
1.9 KiB
v2.7 — Sync & Desktop App
Upgrade zpan-cli from one-way backup to bidirectional sync. Ship the desktop tray app.
Major Features
Bidirectional Sync
- Two-way sync — changes on any device propagate to all others via S3
- Change log — server tracks every file create / update / delete with device attribution
- Conflict resolution — when two devices edit the same file, keep both copies (remote version wins, local saved as
.conflictvariant). Optional: last-write-wins mode - Selective sync — choose which folders to sync on each device
- Multi-device — sync between laptop, desktop, NAS, any number of machines
Upgrade Path
- zpan-cli
backupcommand unchanged (one-way, safe) - New
synccommand enables bidirectional mode - Same tool, same config format, new capability
Desktop Tray App (Tauri)
Graphical interface for backup and sync, built with Tauri 2. Shares core logic with zpan-cli via the zpan-core Rust crate.
- System tray with status menu:
- Backup status (last run, next scheduled)
- Sync status (synced / syncing / conflict)
- Pause / resume
- Open settings
- Open ZPan web UI in browser
- Settings window — configure backup directories, sync folders, server connection, schedule
- Native notifications — backup complete, sync conflict detected, storage quota warning
- Auto-start on login
- macOS, Windows, Linux builds
User Scenarios
Freelancer with multiple machines:
I work on my desktop at home and laptop at the cafe. I sync
~/Documentson both. Files stay in sync without thinking about it.
Non-technical user:
I install the ZPan desktop app, log in, pick a folder to back up, and forget about it. The tray icon shows me it's working. I never touch the command line.
Small team sharing a NAS:
We sync a shared folder between our NAS and each team member's laptop. Everyone has the latest files, even when working remotely.