Your vault, the same on all your computers - with no server, no cloud and no account. Two computers find each other
on your network, the notes travel end-to-end encrypted, and a note edited on both at once keeps both versions.
Built on hromada (an encrypted mesh of your devices) and
@hromada/sync (folder sync that never loses an accepted version). A community
plugin; not made or endorsed by the Obsidian team.
Status: beta, desktop (Windows, macOS, Linux). It keeps a whole vault the same on your computers while Obsidian is
open - since 0.2 several computers can edit one note at once, each seeing the others' cursors, and since 0.3 one
folder can be shared with other people. Computers on one
network (at home, in an office) find each other by themselves. Computers in different places (home and work) connect
directly over the internet too: the plugin asks your router to forward a port, with no server in between (Network
use).
Phones and a background app that syncs with Obsidian closed come after.
New in 0.3
Share one folder with other people. Next to the vault you keep the same on your own computers, any folder can be
shared with a colleague, a friend, a client - and only that folder: they never see the rest of your vault, nor your own
computers. Still no server: their computer and yours connect directly, end-to-end encrypted.
- Invite (left): choose what they can do - read and edit or read only - and for how long, and send them the
one-use code. They paste it into Join a shared folder.
- You let each device in (right): when someone uses your code, your Obsidian asks. Nothing of the folder reaches
their device before you say yes; no answer within a minute is a no. Keep Obsidian open on your computer while they
connect.
- Marks in the file tree: each shared folder has a coloured edge and a word for your role in it - owner (left),
can edit, read only (right) - and who is in it on hover. A reader's own changes stay on their computer.
- Who has access (left): everyone in the folder, online or not, their role and until when. Make a reader an editor
or the other way round (at once), give someone 7 more days, or take access back - also while they are away. Right
click the folder, or the command Who has access to this shared folder.
- In the status bar menu (right): each shared folder with your role and who is online, New shared folder and
Join a shared folder.
- Live editing works in a shared folder too - edits are taken only from people who may write it now; a reader sees
the others type, read-only.
- A file larger than 50 MB is not synced in a shared folder (your own vault has no limit); up to 5 shared folders.
Everyone in a shared folder needs Hromada Sync 0.3.0 or later.
Good to know: the plugin is installed on each computer separately - your notes sync, Obsidian's settings and plugins
do not. And it syncs while Obsidian is open: a computer with Obsidian closed catches up as soon as you open it.
New in 0.2
Several computers in one note at once. Open the same note on two, three or four computers and type: each sees the
others' cursors with their names and colours, and the text stays the same everywhere - no conflict copies, no waiting
for a save. Below, four real Obsidian windows typing at the same time.

- Live editing (left): a LIVE capsule at the top of the note with the faces of the computers in it; when one
joins, a short notice says who. Their cursors carry their names, which fade while they do not type.
- The history of a note (right): every version, which computer wrote it and when - from the signed records, not a
name anyone could type - what changed against the note now, and Restore this version (it becomes a new version:
nothing is lost). From the command palette (History of this note), a right click on the note, the status bar menu,
or a click on the LIVE capsule.
- The status bar and its menu (left): one small icon - spinning while files move, a check when all is in step, a
crossed cloud with no other computer, paused, or a warning when a decision is needed; hover for a sentence, click for
every computer (online, or when last seen, with its version), Pause, and what each action does.
- Across the internet, directly (right): your router forwards a port to this computer on its asking (UPnP or
NAT-PMP), so your computers in different places connect to each other with no server in between. The settings say
whether this computer is reachable, and why not when it is not.
- Back within 20 seconds when a computer leaves the local network and a relay is set (was up to a minute).
How it looks
The pictures are a real run of the field tests (two Obsidian windows in containers, field/). More: https://hromada.pages.dev/obsidian/
Install
Windows: with Obsidian installed and opened once, press Win+R, paste this line, press Enter:
powershell -ExecutionPolicy Bypass -NoExit -Command "irm https://github.com/Olexan-art/hromada-obsidian/releases/latest/download/install.ps1 -OutFile $env:TEMP\h.ps1; & $env:TEMP\h.ps1"
It asks which vault (or makes a new test vault), puts the plugin in, and - if you agree - installs
BRAT set to follow this repository, so every new version arrives by
itself when Obsidian starts. macOS and Linux: install BRAT from Obsidian's community plugins and add
Olexan-art/hromada-obsidian in it.
Use it
- First computer: Obsidian asks "Trust the author and enable plugins?" - yes. The Hromada Sync window opens:
Start syncing. You get a code, valid for 10 minutes and good once.
- Second computer: the same window, Another computer syncs already - paste the code. You see who invites and
which vault, and choose Accept. Nothing is written before that.
- That is all. Edits travel within a few seconds. The status bar says Hromada ● 1 · updated 12 s ago; a click
opens a menu with Sync now, Connect one more computer, Conflicts and the trash and Settings.
When something needs you, it asks - with the safe choice first:
- Many notes vanished at once (a mistake, a disk that failed, ransomware): sync pauses before it spreads, until you
confirm or keep it paused.
- The vault's folder changed (a disk unplugged, the folder moved or restored): sync waits instead of taking the
empty folder as "everything deleted".
- A note was edited on two computers at once: both versions are kept; Conflicts and the trash shows them side by
side, with Keep mine, Keep the other or Both.
- A note was replaced or deleted from another computer: its previous version is in the sync trash for 30 days, one
click to restore. While someone types on another computer, only the version from before their burst of saves is kept.
Settings → Hromada Sync shows which computers are online, with their versions, the recent events, your relay, the rules
of what is not synced (.hromada-ignore), a bug report without secrets, and Unlink (the notes stay).
Network use
- On your local network: the plugin listens on a TCP port and finds your other computers with UDP broadcasts on the
LAN, to connect to the devices of your own mesh. Everything between them is end-to-end encrypted (Noise XX,
AES-256-GCM) and every change is signed by the computer that made it.
- Over the internet, directly - no server in between: the plugin asks your own router to forward one TCP port to
this computer (UPnP, or NAT-PMP) and learns the router's public address; your computers tell each other where they
can be reached and connect directly from any network, and an invitation code carries that address. Only your
computer and your router take part: nothing is sent to anyone else. The port is closed again when Obsidian closes;
Settings → Hromada Sync → Allow connections from the internet turns it off. One of your computers being reachable
is enough (the one at home, say): the others connect to it. Where no router of yours forwards (UPnP off, or your
provider shares one public address among many customers), the settings say so and why.
- A relay, only if you set one: for networks where nothing else gets through - a relay you run yourself
(
npx hromada relay --token ...). It passes encrypted bytes and cannot read or change notes.
- Live editing (0.2): the text of a note open on two computers at once, and the cursors, go between them over the
same encrypted connection.
- Nothing else: no telemetry, no analytics, no servers of ours, no account. The plugin downloads no code; it is
updated only by Obsidian (Settings → Community plugins) or BRAT.
Files it writes in a vault
.obsidian/plugins/hromada-sync/data/state/: the sync state (record log, index, this computer's keys). It is never
synced and never written from another computer.
.hromada-ignore: what is not synced (created on first start; edit it in the settings or like a .gitignore).
.hromada-trash/: previous versions of notes replaced or deleted from another computer, for 30 days.
- Conflict copies next to a note (
name.sync-conflict-<time>-<id>.md) when two computers edited it at once.
What it uses on your computer, and why
- The file system directly (Node.js
fs), inside this vault only. The sync engine keeps its own state (the
record log, the index, a journal so a write cut off by a crash is finished or undone, never half-done) and writes a
received note atomically (a temporary file, then a rename), which Obsidian's vault API does not offer. It touches
the vault's folder and nothing outside it; notes you edit go through Obsidian's API as usual.
- The list of all files in the vault, to sync them and to find conflict copies.
- The clipboard, write only: the Copy button next to an invitation code. Nothing is read from it.
- A TCP port and UDP broadcasts on your local network, and a relay only if you set one (see Network use).
Build
npm ci
node esbuild.config.mjs --minify # main.js
npm run load-check # loads main.js the way Obsidian does and syncs two vaults
How the plugin and the coming background app will share a vault: docs/IPC.md. Apache-2.0. Українською