Skip to content

0.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 11:09
· 12 commits to master since this release

First release.

R2V2 ("R2 Vault to Vault") syncs an Obsidian vault between desktops through a Cloudflare R2 bucket. Everything is encrypted on your device before upload.

Features

  • Two-way sync with a three-way comparison against the last synced state, so deletions propagate and edits are not lost
  • Mandatory end-to-end encryption of file contents, file names and modification times (scrypt + AES-256-GCM)
  • Conflicts keep both versions by default, or the newer one if you prefer
  • Confirmation before a sync that would overwrite or delete a large share of the vault
  • Sync on startup, on an interval, after edits, or on demand
  • Optional sync of the config folder, ignore patterns, file size limit
  • The R2 secret key and the encryption password are kept in Obsidian's secret storage

Requirements

  • Obsidian 1.11.4 or later, desktop only (Linux and macOS)
  • Your own Cloudflare account with an R2 bucket and an API token

Install

Download main.js and manifest.json below into <vault>/.obsidian/plugins/r2v2/, then enable R2V2 under Community plugins. See the README for setup (in Japanese).

Notes

  • The plugin only talks to the S3 API endpoint of your own R2 account. No telemetry.
  • If you forget the encryption password, the remote copy cannot be decrypted. Your local vaults are unaffected.
  • The encryption has not been audited by a third party. Its design, limits and tests are described in the README.