shikakun15 downloadsSync a vault across your own devices through a server on your own Cloudflare account.
Obsttorte is software that syncs an Obsidian vault across multiple devices. It consists of a server that runs on Cloudflare Workers, D1, and R2, an Obsidian plugin, and a CLI.
For each vault, you self-host a server in your own Cloudflare account. It syncs your entire vault, including the plugins and settings in the config folder as well as your notes. It also offers per-file merging, a UI for resolving conflicts, and a revision history you can restore from.
npx obsttorte@latest setup
The CLI walks you through creating a Worker, a D1 database, and an R2 bucket, then deploys them. It then shows the steps for setting up Cloudflare Access. Follow them in the Cloudflare dashboard, and enter the AUD tag, the Client ID, and the service token’s expiration date. Your answers are saved to ~/.config/obsttorte/<worker-name>.json, excluding secrets such as tokens.
You need a server for each vault. To create several servers in a single Cloudflare account, give each one its own Worker name with the --name option.
npx obsttorte@latest setup --name obsttorte-work
Install Torte from Obsidian’s Community plugins.
Each device gets its own device token. If you lose a device, you can stop it from syncing by revoking its device token.
npx obsttorte@latest device add --device-name iPhone
npx obsttorte@latest device list
npx obsttorte@latest device revoke <ID>
npx obsttorte@latest update
This deploys the latest code to your server and applies database migrations. If you run several servers, specify one with --name, or update all of them with --all. Update the Obsidian plugin from within Obsidian on each device where it is installed.
The plugin communicates only with the server you created, and the CLI communicates only with that server and the Cloudflare API. Nothing is sent to the developer. The data sent to the server is the files in your vault, their hashes, and your device credentials.
Obsttorte is distributed under the MIT License. Copyright © 2026 @shikakun.
See LICENSE for more information.