avtarasov21074 downloadsReal-time collaborative markdown editing with live participant cursors, powered by a self-hosted CRDT service (Yjs).
Self-hosted collaborative Markdown editing and vault synchronization for Obsidian desktop and mobile. Plugin version: 1.0.5. No default server, analytics, billing or E2E encryption.
.git, trash, caches, workspace state, Collab Notes itself and plugin data.json files are excluded. Plugin data is excluded because it can contain credentials. Installing executable plugins from another device requires trusting that device.The complete server and React browser client are in server/. The former minimal in-memory relay has been replaced; it did not implement accounts, durable storage or vault sync.
See server/README.md for local setup, Docker, email delivery, persistence, backups and the upgrade procedure. Use Node.js 20 or later. For a real deployment use HTTPS/WSS, persistent account and Redis volumes, and private S3 storage.
VITE_API_BASE.The key-based flow remains available for standalone vaults. Keys and edit links are bearer capabilities: anyone holding one has its permissions. Do not post them publicly.
For previously synchronized Markdown, local Yjs state is loaded before network connection. File changes are applied to that state before exchanging updates, so offline insertions are merged instead of blindly replacing the remote text.
On first import, unrelated local content at the same path is preserved in a uniquely named conflict copy. Concurrent binary branches and independent same-name creations also retain separate copies. Deletions go to the local trash. CRDT convergence does not guarantee that simultaneous edits make semantic sense.
The local cache is stored in the plugin directory under .collab-sync/, scoped by server and vault ID. Do not delete or Git-sync it between devices; it is local state, not a portable backup. Do not run another file-sync tool over the same vault during testing. The cache and server content are plaintext, not E2E encrypted.
Only the configured service is contacted. Explicit sharing uploads the selected note. Enabling vault sync uploads included files; this is broader than sharing one note. Configuration/plugin-code sync uploads additional files only when enabled. Registration and recovery send the email address and password or recovery code to the configured service; passwords are stored as salted scrypt hashes. Email delivery uses the administrator's configured provider.
Notes, attachments, document history, account information and local CRDT caches consume storage. Expiring a link does not delete its content. There is no automatic content TTL. The server keeps up to 30 version snapshots per document; account backups need a separate retention policy.
BRAT repository:
https://github.com/delfinchiknakite-netizen/collab-notes-obsidian
Version 1.0.5 publishes the current vault-sync implementation under a new version so BRAT can detect the update from 1.0.4. A local build is not a published release.
Pushing tag 1.0.5 starts the release workflow. It can also be started manually with that tag. It runs the plugin and full server tests before publication.
For official installation, use Community Plugins once the submission has been approved.
npm ci
npm run typecheck
npm test
npm run build
Copy main.js, manifest.json and styles.css to the plugin directory of a test vault. Restart or reload the plugin. Do not overwrite data.json.
The automated file-sync suite uses a simulated Yjs transport and filesystem. The server suite runs real local HTTP/WebSocket clients and filesystem persistence. Neither replaces desktop/mobile acceptance testing; see test/ACCEPTANCE.md.
data.json files and Collab Notes itself are deliberately not synchronized.MIT.