Run your own sync server.
Cove's server runs on Cloudflare Workers, with D1 for data and R2 for attachments. It's designed to stay within the free plan for personal and family use. This guide describes the planned setup; the commands arrive with phase 1.
What you need
- A Cloudflare account (the free plan is enough).
- Optionally, a domain on Cloudflare, for your own address and for Masked Email. Without one, the server uses a
workers.devaddress. - The
coveCLI.
1. Deploy
The CLI signs in to Cloudflare, creates the database and storage bucket, and deploys the server.
cove server deploy --domain vault.example.com2. Create your account
Your first device creates your Secret Key and Emergency Kit. Print the kit or store it somewhere safe that isn't this device.
cove account create --server https://vault.example.com3. Add your other devices
Sign in on each app by scanning a QR code from a device that's already signed in, or by entering your Secret Key from the Emergency Kit.
Backups
The server's data is ciphertext, so copies of it are safe to keep anywhere. Cove sets up several layers:
- Cloudflare D1's built-in point-in-time recovery.
- A daily export to R2 in the same account.
- An optional daily copy to a private GitHub repository through GitHub Actions, so you're covered even if you lose the Cloudflare account.
- As a last resort, any of your devices can rebuild an empty server from its local copy:
cove admin restore-server.
Harden your Cloudflare account
Whoever controls the Cloudflare account controls what the server sends. Turn on two-factor authentication with a hardware security key, and scope API tokens narrowly.