QuixiCloud Desktop for Windows
Product & Technical Architecture Brief
A next-generation cloud drive client bridging local computing with distributed object storage. Instead of downloading gigabytes upfront, QuixiCloud integrates directly into Windows File Explorer via kernel-level filesystem drivers. Files consume 0 KB of local SSD space until opened.
1. Executive Summary
Core Philosophy & High-Level ArchitectureTraditional cloud storage clients (like Dropbox, Box, or early Google Drive sync) function as heavy user-space synchronizers: they download entire directory structures to local disks, duplicate gigabytes of payload, and run resource-hungry Chromium/Electron processes that chew up RAM and battery.
QuixiCloud Desktop for Windows completely redesigns this paradigm by integrating directly into the Windows File Explorer using the native operating system Windows Cloud Files API (cfapi).
Zero KB Local Footprint
Files appear with authentic icons, real sizes, and full hierarchies taking zero bytes until accessed.
Featherlight Rust Core
Compiled with Rust 2024 and Tauri v2. Idles at ~20MB–40MB RAM compared to 800MB+ for Electron apps.
Kernel-Level Interception
Reads are trapped at the NTFS kernel level. Adobe Premiere, CAD, and Office stream blocks in real-time.
2. Engineering Stack & Technologies
Modern Systems Architecture & RationaleQuixiCloud is engineered with an ultra-modern, memory-safe systems stack designed for high throughput and near-zero idle resource consumption:
| Component | Technology / Language | Engineering Rationale |
|---|---|---|
| Core Sync Engine | Rust (Edition 2024) | Zero garbage-collection pauses, memory safety without runtime overhead, and multi-threaded throughput. |
| Async Runtime | Tokio (Multi-threaded) | Powers asynchronous file I/O, parallel chunked transfers, persistent SSE connections, and background queues. |
| Desktop Shell | Tauri v2 | Uses native Windows WebView2 runtime instead of bundling bloated 300MB+ Chromium/Electron instances. |
| User Interface | React 19, TypeScript, MUI, Vite | Responsive, lightweight frontend with zero IPC lag, dark/light theme, and i18n support. |
| OS Filesystem Driver | Windows Cloud Files API (cfapi) | The official Microsoft kernel-level API for on-demand cloud files (the exact engine behind Microsoft OneDrive). |
| Shell Integration | Windows COM Shell Extensions | Injects native Explorer context menus ("Always keep on this device", "Free up space"), status overlay badges, and thumbnail handlers. |
| Local Database | SQLite + SQLCipher via Diesel ORM | AES-256 encrypted local database for tracking file inventory, metadata, checksums, and sync states. |
| Credential Storage | Windows Credential Manager (keyring) | Stores session secrets and tokens in the Windows hardware-backed credential store (DPAPI). |
| Packaging & Deploy | MSIX Sandboxed Package | Safe, isolated Windows packaging supporting clean installs, uninstalls, and verified Microsoft Store distribution. |
3. Core Mechanics & Files On-Demand
Hydration, Dehydration & Bidirectional SyncA. "Files On-Demand" (Cloud Hydration)
- Placeholder Creation: When connecting a vault, QuixiCloud inspects cloud metadata and writes lightweight NTFS file placeholders into the local folder. Windows recognizes them natively as cloud files.
- On-Demand Hydration: When any Windows software (File Explorer, Word, Photoshop, Premiere Pro, or CLI) requests to read a file, the Windows kernel intercepts the I/O call and notifies the QuixiCloud background daemon to stream the necessary byte ranges.
- Smart Local Caching: Once opened, the file is locally cached. When local SSD space runs low, users (or Windows Storage Sense) can right-click and click "Free up space" to dehydrate the file back to a 0 KB placeholder without touching the cloud original.
B. Bidirectional Real-Time Synchronization
- Local → Cloud: Newly created, modified, renamed, or deleted files are immediately caught via the Windows USN Journal and file system watchers (
notify-debouncer-full), queued, and uploaded via chunked streams. - Cloud → Local: The desktop client maintains a lightweight Server-Sent Events (SSE) connection and delta query pipeline with the QuixiCloud backend, reflecting remote alterations locally within milliseconds.
C. Native Windows File Explorer Badges & Context Menus
4. Performance & Memory Benchmark
Rust + Tauri vs. Legacy Electron Sync ClientsElectron-based sync utilities bundle full Chromium browser engines that routinely idle at 300MB to 800MB of RAM. QuixiCloud utilizes Rust and Tauri v2, idling at a fraction of that memory:
High-Speed Transfer Pipeline
- Direct-to-Cloud Uploads: When backed by Amazon S3, Cloudflare R2, or MinIO storage policies, QuixiCloud transfers files directly to object stores using secure presigned URLs, eliminating server proxy bottlenecks.
- Parallel Multi-Part Uploads: Large media files are divided into optimized chunks and streamed concurrently across multiple threads.
- Automatic Resumption: If a laptop sleeps or Wi-Fi drops, transfers automatically resume from the exact byte offset without restarting from scratch.
5. Networking, Protocols & Authentication
Secure Wire Protocols & Connection Lifecycle- REST API over HTTPS (TLS 1.3): All directory listing, file metadata, quota queries, and policy enforcement run over TLS 1.3 encrypted endpoints.
- Modern OAuth 2.0 with PKCE: Users authenticate via their web browser or custom workspace domain. The desktop client registers the
quixicloud://oauth/callbackdeep-linking scheme to capture the auth token automatically. A built-in manual token fallback is included for restricted enterprise environments. - Persistent Server-Sent Events (SSE): Remote modifications trigger instantaneous push notifications down an active SSE pipeline, eliminating battery-draining polling loops.
- Adaptive Rate Limiting: A built-in token-bucket algorithm (
governor) prevents saturating domestic upload bandwidth or triggering provider rate limits.
6. Security, Privacy & Data Integrity
Hardware-Backed Keyrings & SQLCipher Encryption- Zero Plaintext Passwords: The desktop client never receives or stores your master account password. It relies entirely on short-lived OAuth 2.0 bearer and refresh tokens.
- Windows Credential Manager (DPAPI): Access tokens and cryptographic keys are saved inside the Windows hardware-backed credential vault, preventing malicious third-party apps from extracting session data.
- SQLCipher AES-256 Local Metadata DB: The local metadata cache (
meta.db) is encrypted with AES-256 via SQLCipher, protecting local file names, paths, and timestamps from unauthorized offline extraction. - MSIX Sandboxed Execution: Distributed in Microsoft's MSIX application container, preventing registry corruption and defending against malicious DLL injection attacks.
7. Professional Software & Workstation Compatibility
Real-World Workflow IntegrationBecause QuixiCloud hooks into the Windows NTFS filesystem driver via cfapi, other desktop software treats cloud placeholders exactly like local files: