Davide Maggi28 downloadsSelf-hosted sync for your vaults across desktop and mobile.
Self-hosted sync for Obsidian with near real-time updates, encryption at rest, and conflicts you can actually read.
You never lose anything, and you always know whether you're safe.
Quick start · Features · Screenshots · How it works · Comparison · Docs
Kamino started with a vault that was lost.
A self-hosted sync server stopped working and didn't tell anyone. After a fresh Windows install, the vault couldn't be recovered. Git worked on the desktop but was a pain on the phone. The popular sync plugins were fiddly to set up, and when two devices disagreed, you had to guess which version would survive.
So Kamino makes one promise and builds everything around it: nothing is ever thrown away, and the state of every device is always visible. If a device falls behind, you see it. If two edits collide, you keep both and choose with a diff in front of you. If you delete something by mistake, it waits in the trash.
| ⚡ Near real-time sync | Changes reach your other devices within seconds over WebSocket. A device that was offline for minutes or for months catches up as soon as it reconnects. |
| 🚨 No silent failures | Every device shows when it last synced and how many changes are still waiting to reach the server. If something stalls, Kamino keeps warning you until it's fixed. |
| 🧭 Conflicts you can read | When two devices edit the same note, you see both versions side by side. Keep yours, take theirs, keep both, or merge them by hand, in Obsidian or in the browser. |
| 🗄️ A safety net, built in | Every deleted file stays in the trash for at least 7 days, and each vault keeps up to 90 days of history. You can also export any vault as a ZIP, as it is now or as it was on a past date. |
| 📱 Pair a phone in seconds | Scan a QR code or open a link. The device that made the link confirms the pairing with a short code, so there are no config files to copy around. |
| 🔐 Encrypted at rest | File contents, paths and vault names are encrypted with per-vault keys, wrapped by a master key that never touches the database. A stolen dump or bucket is useless on its own. |
| 🙈 Admins can't peek | Multi-user from day one. Admins manage users, quotas and email, but they never see a note's name or contents, in the UI or in the API. |
| 🎛️ Sync your way | Choose live, periodic or manual sync for each device. Large attachments can wait for Wi-Fi. .obsidian settings can sync category by category if you opt in. |
| 🐳 One compose file | Two containers: Kamino and Postgres. The image runs on amd64 and arm64, so a Raspberry Pi works. Ready-made setups cover LAN, Tailscale, Cloudflare Tunnel and Caddy. |
| 🌍 Polished, everywhere | A web dashboard with 2FA, light and dark themes, English and Italian, and a plugin that runs the same on desktop, iOS and Android. |
![]() Conflicts, side by side. Both versions are saved; you pick or merge. |
![]() Every device, every state. All safe, needs attention, or blocked, at a glance. |
![]() History and trash. Bring back any version or any deleted file. |
![]() Works on the phone, too. The dashboard adapts to any screen. |
You need a machine with Docker. Your phones also need HTTPS: Tailscale, Cloudflare Tunnel or a domain with Caddy all work, and the self-hosting guide covers each one.
1. Grab two files into an empty folder:
curl -fsSLO https://raw.githubusercontent.com/davidemaggi/Kamino/main/docker/compose.image.yml
curl -fsSL https://raw.githubusercontent.com/davidemaggi/Kamino/main/docker/image.env.example -o .env
2. Fill in .env. Set KAMINO_PUBLIC_URL and KAMINO_DB_PASSWORD, then generate the master key:
docker run --rm ghcr.io/davidemaggi/kamino:latest keys generate # paste the output into KAMINO_MASTER_KEY
3. Start it and open the setup link to create the first admin:
docker compose -f compose.image.yml up -d
docker compose -f compose.image.yml logs kamino | grep setup
[!IMPORTANT] Keep a copy of the master key somewhere off the server, for example in a password manager. Without it, the data on the server can't be read. That is on purpose: it's what makes a stolen dump useless. Your devices still keep their own copies, so nothing is lost.
Until Kamino is listed in the Obsidian community store, install it with BRAT:
davidemaggi/Kamino.[!NOTE] The plugin needs a Kamino server and an account on it. It talks only to the server you configure: no telemetry, no third parties.
What the plugin accesses, and why
flowchart LR
subgraph Devices
D1[Obsidian desktop<br/>+ Kamino plugin]
D2[Obsidian mobile<br/>+ Kamino plugin]
W[Web dashboard]
end
subgraph "Your server (docker compose)"
S[Kamino server<br/>REST + WebSocket]
P[(PostgreSQL<br/>change journal)]
B[(Encrypted blobs<br/>filesystem or S3)]
end
D1 <-->|HTTPS + WSS| S
D2 <-->|HTTPS + WSS| S
W <-->|HTTPS| S
S --- P
S --- B
Want the details? Read the sync protocol and the threat model.
| Kamino | Git-based sync | CouchDB-based plugins | Obsidian Sync | |
|---|---|---|---|---|
| Self-hosted | ✅ | ✅ | ✅ | ❌ |
| Free | ✅ | ✅ | ✅ | ❌ (subscription) |
| Near real-time | ✅ | ❌ | ✅ | ✅ |
| Painless on mobile | ✅ | ❌ | ⚠️ | ✅ |
| Side-by-side conflict resolution | ✅ | ⚠️ (merge markers) | ⚠️ | ⚠️ |
| Multi-user, with admins blind to content | ✅ | ❌ | ⚠️ | n/a |
| Pair a device with a QR code | ✅ | ❌ | ⚠️ | ❌ |
| End-to-end encryption | ❌ (at rest) | ⚠️ | ✅ | ✅ |
Kamino deliberately uses encryption at rest instead of end-to-end encryption. The server can read your notes, and that's what makes the browser diff view, ZIP exports and server-side checks possible. A database or storage dump on its own is still useless. If you need protection from whoever runs the server, an end-to-end encrypted tool is a better fit.
Every major and minor release is named after a famous clone, and the first letter follows the major version: 1.x starts with A, 2.x with B. 1.0 is "Ash", after Alien. Next up: Alison, Boba, Cody, Dolly… See docs/release-names.md.
TypeScript (strict) everywhere, in a pnpm + Turborepo monorepo:
pnpm install
pnpm build
pnpm test # integration tests start Postgres with Testcontainers (needs Docker)
pnpm --filter @kamino/web dev # dashboard with fake data at http://localhost:5173
Requires Node ≥ 22.12 and pnpm 10. Conventions (Conventional Commits, changesets, TDD) are in CLAUDE.md.
Bug reports, ideas and pull requests are welcome. For anything larger than a small fix, please open an issue first so we can agree on the approach. If sync ever misbehaves, the plugin's Copy diagnostics command produces a report with no file names or contents, ready to paste into an issue.
AGPL-3.0 © Davide Maggi. You can use, modify and self-host Kamino freely. If you offer a modified version as a service, you must share its source code.