Local Client Overview
The Niuton local client is a native desktop application built with Tauri 2.0 and React that synchronizes your data and files locally.
Features
- File Sync — Two-way sync of your entire filesystem
- Data Sync — Notes, finance, documents, maps, chess games
- Offline Access — Work without internet, changes sync when reconnected
- Native Integration — System tray, file associations, notifications
- Multi-Device — Sync across multiple devices
Architecture
┌──────────────────────────┐
│ React UI (TypeScript) │
├──────────────────────────┤
│ Tauri 2.0 Runtime │
│ ┌────────────────────┐ │
│ │ Sync Engine (Rust) │ │
│ │ ┌──────┐ ┌──────┐ │ │
│ │ │ Data │ │ File │ │ │
│ │ │ Sync │ │ Sync │ │ │
│ │ └──────┘ └──────┘ │ │
│ └────────────────────┘ │
├──────────────────────────┤
│ Local SQLite Database │
│ Local Filesystem │
└──────────────────────────┘
│
│ HTTPS (Bearer Token)
▼
┌──────────────────────────┐
│ Niuton Server │
│ /api/sync/* │
└──────────────────────────┘Supported Platforms
| Platform | Status |
|---|---|
| macOS | Supported |
| Windows | Supported |
| Linux | Supported |
Security
- Bearer tokens stored in OS keychain
- All communication over HTTPS
- Token per device, individually revocable
- 2FA support during authentication