Obsidian on your iPhone and iPad, in sync with your own devices.
Your notes sync device to device — between your iPhone, your computer and your own server or NAS — straight into Obsidian's folder. No iCloud, no note cloud, no account, no tracking.
- Peer-to-peer & private — syncs directly between your own devices over Syncthing. No note cloud, no account, no tracking.
- Lands in Obsidian — files sync into Obsidian's iOS sandbox, where the app already looks for them.
- Pair with a code, resolve conflicts — add your VaultSync Hub by the short code it prints or its QR code, or any Syncthing device by its Device ID; settle Markdown conflicts with side-by-side diffs.
- Server changes can wake your iPhone — Background Sync, with the optional VaultSync Plus subscription, asks iOS to wake the app after the helper observes a server change. The activity timeline shows local sync activity, while Diagnostics keeps Relay, delivery, and local-data evidence separate.
VoiceOver and Dynamic Type throughout. Localized in English, German, Spanish, and Simplified Chinese. Independent project — not affiliated with Obsidian or Syncthing.
Syncthing runs on a machine you keep on; VaultSync joins as a peer and syncs into Obsidian. After a server change, the optional sidecar + Cloud Relay can request an iOS background wake-up; iOS decides whether and when VaultSync runs.
- Install VaultSync from the App Store.
- Pair your server — with a VaultSync Hub, tap Add Hub and type the code it printed or scan its QR code. With your own Syncthing, scan its Device ID by QR (or paste it), then accept the connection in that Syncthing instance.
- Sync your vault — VaultSync detects your Obsidian vaults, connects the share, and runs the first sync. Open Obsidian; your notes are there.
- (Optional) Get VaultSync Plus on the Plus tab and set up Background Sync for faster server→iPhone updates — see below.
Run your own Hub on a Linux server or NAS with Docker, then pair every device with a short code instead of device IDs:
curl -fsSL https://vaultsync.eu/setup.sh | shChoose 2) Hub on the server (once) and 1) Obsidian device on every
computer. The Hub keeps every vault as plain files under /srv/vaultsync/vaults,
keeps every conflict copy and 30 days of versions, and never merges, deletes or
moves anything on its own. Details, ports and commands: docs/hub.md.
"Bring your own Syncthing" keeps working unchanged.
On a new server it looks like this (shortened; your Device ID, code and address differ):
$ curl -fsSL https://vaultsync.eu/setup.sh | sh
VaultSync setup
1) Obsidian device — this computer edits notes and syncs them with your Hub
2) Hub — a server or NAS that keeps every vault (set up once)
Choice [1]: 2
Hub directory: /srv/vaultsync (vaults live in /srv/vaultsync/vaults)
Starting the Hub (this pulls three images on first run)...
…
✓ Hub is running.
Device ID: XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX-XXXXXXX
Pairing code (valid 24 hours, on this network only):
TULIP-ANCHOR-42
On the next device: curl -fsSL https://vaultsync.eu/setup.sh | sh
In VaultSync on iPhone: Add Hub, then enter this code or scan the QR code:
[QR code]
Pairing link: vaultsync://pair?code=TULIP-ANCHOR-42&hub=192.168.1.20%3A8390
Web UI (advanced): ssh -L 8384:127.0.0.1:8384 <this host>, then http://127.0.0.1:8384
New code any time: cd /srv/vaultsync && docker compose exec hub vaultsync-hub code
If your user needs sudo for Docker on that server, put sudo in front of
docker compose in these commands.
Run the same command on a Mac or Linux computer and choose 1) Obsidian device: it installs VaultSync for Mac and Linux, pairs with your Hub by code and keeps your Obsidian vaults in sync in the background. On a Mac it needs macOS 12 or newer. Details: docs/hub.md.
Without it, VaultSync syncs server changes when you open the app. With it, Background Sync can request a background wake-up after your server changes, through our Cloud Relay — iOS still decides whether and when to run the app.
Subscribe in the app (monthly or yearly, at your local App Store price), then run this one line on the computer or NAS that runs Syncthing — the app shows it with a Copy button:
curl -fsSL https://vaultsync.eu/notify.sh | shThat's the whole setup — nothing to edit, no API key to copy.
The installer finds your Syncthing config, sets the right permissions, and starts the helper. The helper sends one startup wake-up request. Relay Diagnostics reports Relay-side request observation and wake-ups received on this iPhone as separate evidence; one does not prove the other. iOS controls delivery, and sending edits from your iPhone stays most reliable with the app open. The relay receives the routing data and StoreKit proof needed to verify access and route a wake-up — never your notes, file or folder names, or vault structure (PRIVACY.md).
🔧 Manual & advanced setup — Docker Compose, docker run, prebuilt binaries, NAS notes, --dry-run
- Skeptical of
curl | sh? Append-s -- --dry-runto preview every action without changing anything, or read the script first. - Syncthing config in a non-standard place (typical on Synology/QNAP)? Prefix the installer with the path:
curl -fsSL https://vaultsync.eu/notify.sh | SYNCTHING_CONFIG=/path/to/config.xml sh - Prefer to run things yourself? The manual & advanced guide covers Docker Compose, a paste-and-go
docker run, prebuilt binaries for Linux/macOS/Windows, every environment variable, and NAS specifics.
| Requirement | Details |
|---|---|
| iPhone / iPad | iOS / iPadOS 18 or later |
| Obsidian | Installed on iOS / iPadOS |
| Syncthing | Running on a Mac, Linux machine, NAS, or homeserver |
| VaultSync for Mac and Linux | Optional preview — macOS 12 or newer, or Linux |
| VaultSync Plus | Optional — monthly or yearly in-app subscription for Background Sync |
| vaultsync-notify | Optional Docker sidecar for server-side wake-ups |
Requires Xcode 26+, Go 1.26+, gomobile, XcodeGen, Make.
git clone https://github.com/psimaker/vaultsync.git && cd vaultsync
cd go && make patch && make xcframework && cd .. # Go xcframework (~160 MB, bundles Syncthing)
cd ios && xcodegen generate && open VaultSync.xcodeprojFull build, signing, and test steps: docs/setup.md.
| Platform | iOS / iPadOS 18+ |
| Language | Swift 6, SwiftUI |
| Sync engine | Syncthing 2.x via Go/gomobile .xcframework |
| Background | BGAppRefreshTask + BGContinuedProcessingTask (iOS 26+ when available) |
| Push | APNs silent push via Cloud Relay |
| License | MPL-2.0 |
| Doc | What it covers |
|---|---|
| docs/hub.md | VaultSync Hub: one-link server stack, pairing codes, guarantees |
| hub/README.md | The Hub's coordinator: its parts, tests, environment and releases |
| desktop/README.md | VaultSync for Mac and Linux: the desktop agent and its menu-bar app — parts, tests and releases |
| docs/setup.md | Build and development setup |
| docs/troubleshooting.md | Common failures and exact fixes |
| docs/architecture.md | Codebase structure and sync strategy |
| docs/relay-spec.md | Cloud Relay protocol reference |
| docs/instant-upload.md | Instant iPhone → server uploads via a Shortcuts automation |
| notify/README.md | Notify sidecar setup and diagnostics |
| PRIVACY.md · TERMS.md | Privacy policy and license terms |
| CONTRIBUTING.md | How to contribute — setup, tests, and PR conventions |
| SECURITY.md · CODE_OF_CONDUCT.md | Vulnerability reporting and community standards |
Filing a bug? Include your iOS and VaultSync versions, your server's Syncthing version, whether VaultSync Plus is active and vaultsync-notify is running, and relevant logs or screenshots.
MPL-2.0 — use, modify, and distribute under the Mozilla Public License 2.0.
Built on Syncthing (the file-sync engine) and gomobile (which embeds it on iOS), for Obsidian. VaultSync is independent and not affiliated with, endorsed by, or sponsored by Obsidian or Syncthing.