Relays move encrypted content and process the routing metadata needed for delivery, but they do not get your decryption keys.
Sync relay guide
Updated August 9, 2026 · Simply Finance
Run sync on your own terms.
Simply Finance includes a built-in sync relay. If you want a personal relay, you can explore separately billed managed hosting from SimplySync Cloud or run the open-source relay in an account you control.
- ✓Local-first by default
- ✓End-to-end encrypted sync
- ✓Bring your own sync relay when needed
Keep the default, explore a personal managed relay, or run the open-source relay in infrastructure you control.
Simply Finance syncs over SimplySync, our local-first sync engine. The SimplySync developer guide has the deployment and relay implementation references.
What a sync relay does
A sync relay is the small network service that helps your devices exchange encrypted changes. Think of it as a mailbox for sync updates, not as a database operator reading your finances.
Simply Finance stays local-first. Your device keeps the working copy of the database. The relay only helps devices discover and exchange encrypted updates so the same owner can restore and sync across your iPhone and Android devices.
- Your data is encrypted before it leaves the device.
- Relays cannot read balances, transactions, budgets, or notes.
- Adding a custom relay changes the transport path, not the ownership model.
Choose the relay path that fits
Most users can keep the built-in setup. It is the default for ongoing sync and keeps restore working out of the box.
SimplySync Cloud offers an optional personal managed relay with separate recurring billing. Check its live page for current checkout availability and terms. If you prefer infrastructure control, self-host in your own Cloudflare account, VPS, or compatible environment.
If you do not already know why you want a custom relay, you probably do not need one yet.
We plan to keep the built-in relay available for as long as capacity allows. If demand grows beyond what we can sustainably provide, it may be retired later. Your own relay gives you an independent sync path.
Full Version is a one-time in-app purchase. SimplySync Cloud is a separate optional service; choosing it does not replace the Full Version unlock.
How it works in Simply Finance
Open Settings > Sync Relays to inspect current relays, check their status, or add a new one. When you add a compatible relay URL, Simply Finance starts using it for the same encrypted owner data.
- The built-in relay remains enabled by default for normal, ongoing sync. It is not only a testing relay.
- You can verify a relay is healthy from the Connected status badge.
- You can remove custom relays later without affecting local data already on the device.
The recommended Cloudflare setup is browser-based and does not require server administration. Docker and VPS hosting remain available for technical users.
Host your own relay
The easiest path runs the relay in your own Cloudflare account. Cloudflare creates the storage and gives you a public HTTPS URL; no server, domain, or networking setup is required.
Recommended: deploy in your browser
Open the SimplySync Relay repository and tell the agent: “Host my own SimplySync relay.”The agent handles tooling, Cloudflare setup, deployment, and verification. You only take over for login, MFA, CAPTCHA, billing details, or terms.
Your relay URL does not need to be secret. The relay only stores ciphertext, and each owner is protected by a private write capability derived from the recovery phrase.
Deploy to CloudflareSign in
Sign in to Cloudflare and connect GitHub or GitLab if prompted.
Deploy
Keep the suggested names. Cloudflare creates the Worker, D1 database, and R2 bucket automatically.
Copy the URL
Copy the HTTPS address ending in workers.dev after deployment.
Add it to the app
Open Settings → Sync Relays and paste the address.
The beginner walkthrough shows each screen and the final connection check.
Advanced: Docker on your own server
If you already manage a VPS or server, the repository includes a Docker starter. This path requires a public HTTPS domain.
git clone https://github.com/simply-hq/simplysync.git cd simplysync ./scripts/self-host-relay.sh
Put Caddy and a domain in front of the Docker relay, then follow the full repository guide for backups and production operations.
Connect and test
Keep the built-in relay enabled while the custom relay goes through a real two-device sync and restore check.
Copy the relay URL
Use the workers.dev URL printed by Cloudflare, or the HTTPS domain in front of an advanced Docker relay.
Add it in Sync Relays
Open Settings → Sync Relays and paste the URL. Keep the mode on Built-in + custom while you verify it.
Confirm the connection badge
Wait for the status to switch to Connected. If it fails, double-check the URL, TLS, and relay logs.
Test restore on another device
Before you rely on the new relay, verify another device can restore and sync the same encrypted owner data.
After verification, you can keep both relays for redundancy or choose Custom only. Adding your own relay does not require giving up the built-in relay.
FAQ
Can the sync relay read my financial data?
No. The sync relay transports encrypted sync data, but it does not have the keys needed to read your transactions.
Do I need a custom sync relay to use sync?
No. Simply Finance includes a built-in relay. You can also add a separately billed personal relay from SimplySync Cloud or host a compatible relay yourself.
What happens if my custom sync relay goes down?
Your local database stays intact. Sync pauses until a healthy relay is available again.
Where do I learn the relay implementation details?
Simply Finance syncs over SimplySync, our local-first sync engine. The SimplySync developer guide is the right source for hosting, protocol expectations, and deeper implementation notes.