How Mindwtr Is Put Together

How Mindwtr Is Put Together An architecture diagram generated by Archify. MCP server · mindwtr-mcp, for AI tools · Stays on your device MCP server mindwtr-mcp, for AI tools Desktop app · Tauri: React and Rust · Stays on your device Desktop app Tauri: React and Rust Phone app · Expo React Native · Stays on your device Phone app Expo React Native @mindwtr/core · store, quick add, merge rules · Stays on your device @mindwtr/core store, quick add, merge rules Local database · SQLite on every device · Stays on your device Local database SQLite on every device Sync cycle · one shared state machine · Stays on your device Sync cycle one shared state machine Passphrase lock · AES-256-GCM · Stays on your device · off by default Passphrase lock AES-256-GCM off by default File Sync folder · Syncthing, a drive, Nextcloud · Storage you pick and control File Sync folder Syncthing, a drive, Nextcloud WebDAV server · Nextcloud, ownCloud, others · Storage you pick and control WebDAV server Nextcloud, ownCloud, others Dropbox · app folder · Storage you pick and control Dropbox app folder Mindwtr Cloud · you host it, it merges too · Storage you pick and control Mindwtr Cloud you host it, it merges too iCloud · CloudKit, Apple devices only · Storage you pick and control iCloud CloudKit, Apple devices only edits a task edits a task reads and writes saves the change reads the snapshot seals the data file PUT /v1/data CloudKit records Stays on your device Storage you pick and control

One shared core

  • • Desktop, phone and the MCP server all call @mindwtr/core, so a rule is written once.
  • • MCP is the Model Context Protocol: it lets an AI assistant call the app's tools.
  • • Every device keeps its own SQLite database. That copy is the one the app reads.

What a sync cycle does

  • • It reads the saved snapshot, fetches the remote copy, and merges the two by revision number.
  • • The merged result is written back to the local database first, then uploaded.
  • • A snapshot is the whole data file, not a list of changes. That is a deliberate choice (ADR 0008).

The passphrase lock

  • • Turning it on encrypts the data file, its backups, and attachments before they leave the device.
  • • It covers File Sync, WebDAV and Dropbox only.
  • • It does not cover Mindwtr Cloud, iCloud, or the database on your own device.