Open source

Your own computers, working together with no server

Four free projects under Apache-2.0, from the author of GetLoopLoop and GLLmolfar: a mesh that connects your machines, a format that packs their data, a library that keeps folders the same, and an Obsidian plugin built on them.

No server of yours, no cloud in between, no account. Each project says in its README what it is not for, and so does this page.

Node.js library and CLI

hromada

Zero-server encrypted P2P mesh for Node.js and AI agents.

Your laptop, your GPU box and your Raspberry Pi find each other — on the LAN, by NAT holepunching or through a relay — prove who they are, and talk end-to-end encrypted: calls, streams, files. No server of yours, no open port, no tunnel service, no account.

Version
5.7.1
Licence
Apache-2.0

Install

npm i hromada

Links

Two computers: hromada init and invite on gpu-box, join, members and top on the laptopTwo computers: hromada init and invite on gpu-box, join, members and top on the laptop
hromada mcp expose on gpu-box; the laptop's AI client reaches it through hromada mcp bridge
A local MCP server used from another computer.

What you get

  • Invites instead of accounts

    A device joins with a one-time invite: one line, valid for 10 minutes, usable once. Peers are known by device id, never by address, and the founder of a mesh can revoke a member.

  • Noise XX and AES-256-GCM

    The handshake is Noise XX (Noise_XX_25519_ChaChaPoly_SHA256); frames are AES-256-GCM with a one-way rekey every 100k frames, 5 minutes or 16 GiB.

  • A local MCP server, used from another computer

    hromada mcp expose on the machine that has the server, hromada mcp bridge in the laptop's AI client config. The server gets PATH/HOME-like variables only, so your API keys stay where they are; --tools limits what is exposed, and every call can be logged.

  • Files where only the changes travel

    hromada drop send a file again after an edit and only the changed chunks go. No shared network? Run npx hromada relay on any server both sides reach.

  • Small and tested

    Node 22.15 or later, three dependencies (@noble ciphers, curves and hashes), 139 tests.

  • When not to use hromada

    • Hiding who talks to whom from the network. Direct links show IP addresses to the peer, the DHT shows them to everyone on the topic, a relay sees both. Use Tor or a VPN for that.
    • Browsers or mobile apps. It is Node.js only (Electron works).
    • Thousands of peers in one mesh, or public, open membership. It is built for your own devices and a team's.
    • Where an independent security audit is required. There has been none yet.
    • When a plain HTTPS API is enough: one server everyone can reach is simpler.

Benchmarks

From the README. Reproduce with npm ci && npx tsx bench/wire.ts 400.
WhatResultConditions
Stream throughput, AES-256-GCM~500 MB/s (504 and 543 MB/s; one run of three at 196)2 processes on one machine, TCP loopback, 1 MB writes, 400 MB, AMD Ryzen 9 8945HS, Node 22.22, Windows 11
Stream throughput, JS XChaCha20-Poly1305134 MB/sThe same, for a peer without AES-GCM
File, one machine195 MB/s100 MB of random bytes, disk to disk with SHA-256, 1 MB chunks, 16 in flight
File over a 50 ms round trip107 MB/sThe same through a local proxy that holds every byte 25 ms each way
Framing overhead0.1 %Bytes on the wire per byte of file
Relay → direct, two real computersDirect 0.5 s after LAN discovery started; 0 of 33 calls lost during the switchTwo Windows PCs on one Wi-Fi

Between two computers each side encrypts only its own half, so the network is usually the limit.

Node.js library

recpack

Zero-dependency, byte-exact columnar format for JSON records, tables, deep deltas and chunked archives.

Arrays of JSON objects go in, a compact versioned block comes out, and JSON.stringify of what comes back is the same string, byte for byte: key order, numbers past 2^53, lone surrogates and all. Nothing but Node's own zlib.

Version
1.12.0
Licence
Apache-2.0

Install

npm i @hromada/recpack

The npm name has a scope: npm refuses plain recpack as too close to another package's name.

Links

200 crawled pages: 1.73 MB of JSON packed to 102 KB, unpacked byte-exact
One block of all 200 pages (×16.9); the benchmark table packs them in batches of 50 (×14.6).

What you get

  • Byte for byte, always

    JSON.stringify(unpack(pack(records))) is the same string as JSON.stringify(records). Every block in the benchmarks below was checked that way on the way back.

  • Tables read a column at a time

    packTable stores int, decimal, f64, string and bool columns with nulls; unpackTable reads only the columns you ask for.

  • Deltas and archives

    Patches between two versions of a nested object (experimental), and files of any size in checked 1 MB or content-defined chunks: one byte inserted at the start of a 16 MB file keeps 98 % of the chunks.

  • Safe to decode

    Anything wrong with a block, table or archive is a FormatError, never another exception, and every decoder has size limits by default.

  • Zero dependencies

    Node 22.15 or later, for zstd in node:zlib. 101 tests.

  • When not to use recpack

    • You need queries. It is a format, not a database: no indexes, no SQL. Use SQLite, DuckDB or Parquet.
    • Other languages must read it. It is TypeScript/Node only; the format is documented, but there is no reader in another language yet. Parquet or Arrow are everywhere.
    • Tiny payloads. Under a few hundred bytes, plain JSON + zstd is as good.
    • Secrecy or authenticity. It does not encrypt or sign; put it inside a channel that does, hromada for example.
    • Browsers. It needs node:zlib with zstd (Node 22.15+).

Benchmarks

Records: 200 real crawled web pages, batches of 50, every block checked byte-exact. AMD Ryzen 9 8945HS, Node 22.22, Windows 11. Reproduce with npx tsx bench/records.ts.
CodecLayoutBytes a recordSmaller than JSONPack / unpack, MB of JSON a second
1JSON lines + zstd 9670×12.981 / 129
3Columns + zstd 9 (the default)593×14.654 / 135
4Columns + brotli 5561×15.452 / 190
5Columns v2 + zstd593×14.665 / 174

The README's own reading: on records like these zstd alone already gets ×13; the columns add 13–19 % on top, more on records that repeat structure. What zstd alone does not give you is the byte-exact round trip with a schema-free columnar layout, and tables read a column at a time.

Tables (packTable), measured on search-analytics exports.
FileJSONTableWrite / read
Day × page history, 2.3 million rows, 149,080 pages51.2 MB8.8 MB (×5.8)1.3 s / 0.25 s
Page × query pairs, 100,000 rows16.3 MB1.1 MB (×14.4)0.16 s / 0.16 s

Archives: 9.2 MB of JSON lines → 0.73 MB at 367 MB/s packing; video and images are stored as they are, at 250+ MB/s.

Node.js library · before 1.0

@hromada/sync

Peer-to-peer folder sync as a Node.js library: no server, no cloud, no account — and no accepted version lost.

Version 0.6 keeps real folders in step between the members of a hromada mesh: modes both, send and receive, invitations, guests with an end date, a watcher, and folders of 100,000 files. It is meant to be a library — a few lines put a synced folder into your own Node service.

Version
0.6
Licence
Apache-2.0

Install

npm i @hromada/sync

Links

Two laptops edit the same file offline; when they meet both keep the same winner and the other version as a copy

What you get

  • Order does not matter

    The state of a folder is a pure function of the records a machine holds: every replica with the same records sees the same folder, whatever order they arrived in.

  • No accepted version is lost

    Two edits at once keep both: the winner at the path, the other as name.sync-conflict-<time>-<id>.ext, with the same name on every machine. An edit beats a delete; a folder beats a file.

  • Signed and checked

    Every record is signed by its author (ed25519) in batches whose RFC 9162 Merkle root is signed together with the mesh and folder ids. A relay can delay records but not forge them.

  • Safe against restores and clones

    A machine restored from an old backup, or a VM clone running the same identity, cannot hide anyone's version.

  • Found by a fuzz, fixed

    125 tests and a simulation fuzz: 5,000 worlds of 3–5 replicas taking random edits, deletes, out-of-order delivery, restores and revocations run clean. On the way there it found 15 real ways to lose data, each fixed and written into the spec.

  • What it is not yet

    • A finished tool with a command line. 0.6 is a library; a CLI, status and explain() come next.
    • An API to freeze today: before 1.0 it may change.
    • Anything outside Node.js: it needs Node 22.15 or later.

Benchmarks

100,000 files of 1–4 KB, Windows, NTFS.
StepTime
First scan and record183 s (the disk: 170 s of it)
An unchanged full rescan6–10 s
One edit reported by path (a watcher)0.9 s
One record received, then applied0.65 s + 0.9 s
Writing all 100,000 files on a second machine275 s
Memory~4.2 KB per file (~420 MB for 100,000)

Obsidian community plugin · beta · desktop

Hromada Sync for Obsidian

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 and @hromada/sync. A community plugin, not made or endorsed by the Obsidian team.

Version
0.2.1
Licence
Apache-2.0

Install

Settings → Community plugins → Browse → “Hromada Sync”
  • Windows: a one-line installer in the README puts the plugin into a vault and can set up BRAT, so new versions arrive by themselves.
  • macOS and Linux, or to follow every beta: install BRAT from the community plugins and add Olexan-art/hromada-obsidian.

Links

Four Obsidian windows typing into one note at once: each line appears in every window, with the other computers' cursors and names
Four real Obsidian windows typing into one note at the same time.

What you get

  • Several computers in one note

    Since 0.2: open the same note on two, three or four computers and type. Each sees the others' cursors with their names, and the text stays the same everywhere — no conflict copies, no waiting for a save.

  • Across the internet, directly

    On one network the computers find each other by themselves. Between home and work the plugin asks your own router to forward a port (UPnP or NAT-PMP); one reachable computer is enough. A relay only if you set one, and it cannot read or change notes.

  • It asks before damage spreads

    Many notes vanished at once — a mistake, a failed disk, ransomware: sync pauses until you confirm. The vault's folder changed: sync waits instead of taking an empty folder as “everything deleted”.

  • Nothing is lost

    A note edited on two computers keeps both versions, shown side by side with Keep mine, Keep the other or Both. Replaced and deleted notes stay in the sync trash for 30 days, and a note's history shows every version, which computer wrote it and when.

  • Nothing else on the wire

    No telemetry, no analytics, no servers of ours, no account. The plugin downloads no code; it is updated only by Obsidian or BRAT.

  • What it is not yet

    • Phones and tablets. It is desktop only for now (Windows, macOS, Linux); phones come after.
    • Sync while Obsidian is closed. It keeps the vault the same while Obsidian is open; a background app comes after.
    • A finished product. It is a beta.
  • A note edited live: a LIVE capsule with the other computer's face at the top right, a short “Desktop · live” notice, and the Desktop's cursor with its name

    A note edited live: a LIVE capsule with the other computer's face at the top right, a short “Desktop · live” notice, and the Desktop's cursor with its name

  • The history of a note: every version, which computer and when, and what changed against the note now, with Restore this version

    The history of a note: every version, which computer and when, and what changed against the note now, with Restore this version

  • Conflicts and the trash: whose version is whose, Keep mine, Keep the other, Both

    Conflicts and the trash: whose version is whose, Keep mine, Keep the other, Both

  • The status bar menu: the state in a sentence, each computer online or when last seen with its version, Sync now, Pause, Connect one more computer, the trash, history, settings

    The status bar menu: the state in a sentence, each computer online or when last seen with its version, Sync now, Pause, Connect one more computer, the trash, history, settings

  • The second computer sees who invites, then accepts

    The second computer sees who invites, then accepts

  • Settings: Allow connections from the internet, and “Reachable directly: the router opened a port (UPnP)”

    Settings: Allow connections from the internet, and “Reachable directly: the router opened a port (UPnP)”

How they fit together

Each one is usable alone, and each is the layer under the next.

  1. 1

    hromada connects your machines, encrypted, with no server between them.

  2. 2

    recpack packs their data compactly and gives it back byte for byte.

  3. 3

    @hromada/sync keeps folders the same between the members of a hromada mesh.

  4. 4

    Hromada Sync for Obsidian puts it in Obsidian built on hromada and @hromada/sync.

One of sync's examples uses all three: it crawls a site's JSON-LD from its sitemap, packs it with recpack and keeps it on a second machine; on the next day only a small diff travels.

hromada grew out of the built-in network of GLLmolfar, our desktop crawler, and recpack out of its crawl store. They are published on their own so anybody can use them.

Questions

Are they free?

Yes. All four are open source under the Apache-2.0 licence, with their source on GitHub.

Do I need a server or an account?

No. Devices find each other on the local network, by NAT holepunching or through the optional Hyperswarm DHT. A relay is only for networks where nothing else gets through, and you run it yourself. There is no account anywhere.

Has hromada had a security audit?

Not an independent one, not yet. The threat model and limits are in SECURITY.md and the last review in docs/AUDIT-5.0.md in the repository. If your use requires an independent audit, the README itself says not to use it.

Do they run in a browser or on a phone?

No. hromada, recpack and sync are Node.js libraries for Node 22.15 or later (hromada also works in Electron). The Obsidian plugin is desktop only: Windows, macOS and Linux.

Is recpack a database?

No, it is a format: no indexes, no SQL. For queries its README points to SQLite, DuckDB or Parquet.

Is Hromada Sync made by Obsidian?

No. It is a community plugin, listed in Obsidian's community plugins, and not made or endorsed by the Obsidian team.

How are they related to GetLoopLoop?

Same author. hromada and recpack grew out of GLLmolfar, the desktop crawler, and sync and the Obsidian plugin are built on them.