Sync.CMD is an open-source self-hosted server and Obsidian plugin released under the AGPL-3.0 license. The project, currently at version 0.7.0, provides a unified solution for synchronizing notes across multiple devices, including mobile and desktop platforms, without relying on third-party cloud services.
The system utilizes a server-side operation log based on SQLite with a monotonic counter to manage synchronization. It supports end-to-end encryption (AES-256-GCM), live collaborative editing via Yjs over WebSockets, and a web-based interface built with React 19 and HeroUI v3. Users can also publish folders and notes via secure links.
A key feature is the integrated Remote MCP for AI assistants, allowing users to issue granular tokens for tools like Claude or Cursor. These tokens restrict AI access to specific folders, such as an inbox, while protecting system directories like .obsidian and .sync-cmd from unauthorized modifications.
The developer opted for a file-based journal over CRDT for the core synchronization engine to ensure compatibility with standard file systems and binary attachments. The system handles conflicts through three-way merging for text and structural merging for JSON configuration files to prevent data corruption.
During development, the project addressed specific challenges related to mobile environments. For instance, it implements local state backups to recover from Android WebView issues and uses a custom intent-based system to manage Obsidian plugins, preventing desktop-only plugins from being disabled by mobile devices.





