LLL.MK

Logs / / 4 MIN READ

Steblo: a family tree with no server, synced by QR code

A family tree that lives on each relative's phone. No accounts, no cloud. Trees join face to face, one animated QR code at a time.

A while ago I found a backup of the family tree my father had been collecting for years. It was saved by a genealogy program that is long gone, in a format nothing today will open. So before I could read a single name, I had to write a converter to GEDCOM, the standard file format for family trees.

With the data out, I built the first Стебло. It worked, but it was built around one family: my father's tree and my relatives' branches. Nobody else could use it.

Steblo is the next step, something anyone can use. Open it in a browser or install it on your phone and start your own family's tree.

This time I started from one rule: the tree stays on the phone. No server, no accounts, nothing to sign in to. Each relative builds their own branch, and two trees join when two people meet and point their phones at each other.

The Steblo landing page: Your family tree, on your phone. Build your branch, then meet a relative and join your trees face to face. No account, no server.

Why QR codes, of all things

I wanted phone to phone, offline, on any phone. That crossed off more than I expected.

Bluetooth was out first. Steblo is a web app you install from the browser, and a web page can connect to a Bluetooth device but can't act as one. iPhone Safari doesn't do Web Bluetooth at all. WebRTC over the local network depends on how each phone and each hotspot behaves, and that changes from phone to phone and hotspot to hotspot.

A camera, though, every phone has. One phone plays a stream of QR codes, the other films them, then they swap.

Before building anything else I made a test page and timed it on real hardware, with a hard rule: if one lineage (about 400 people, 20 KB) couldn't cross in 30 seconds each way, the project stopped. The first runs read 5 frames out of 80. Cropping the camera picture to the centre and shrinking it helped. Splitting the data into 600 byte blocks with a fountain code helped more, because the scanning phone no longer needs every frame, just enough of them. Two decoders running in parallel took a 20 KB transfer from 13 seconds down to 9.

Final numbers: a lineage crosses in 5 to 11 seconds. A whole family tree of 3,420 people, around 200 KB, takes about a minute. How steady you hold the phone matters more than you'd think.

Two cousins edit grandpa at the same time

With no server there is nobody to decide who's right. Two relatives can both add grandpa's children while offline, fix the same typo differently, or one can delete someone the other is still editing. All of it has to come out the same on both phones after a sync, and on a third phone that hears about it second hand.

I looked at Automerge and Yjs and went with something smaller. Every field of every person remembers who set it and when, on a clock that stays in order even when the phones' clocks disagree. The later change wins. Deleting is just another field, so an edit made after a delete brings the person back.

The other choice that saved me a lot of pain: no family records. Genealogy files group people into "families" of husband, wife and children. Steblo stores people and two kinds of link, parent and partner, and each link's ID comes from the two people it connects. When two cousins both add the same grandparents as a couple, they create the same link with the same ID, and there's nothing to reconcile.

To find what differs, each phone sends a fingerprint of 256 buckets of its tree in the first QR code, and the two swap only the buckets that don't match.

Every device is an equal editor. In place of an administrator there's a history: every change records who made it, on which phone and when, and any change can be undone. The undo syncs like any other edit.

The one rule that breaks the rules

Later-wins has one exception. A living relative can ask to be taken out of the tree, and "deleted" isn't good enough, because a deleted person's details still travel in every sync.

So there's Erase. It blanks the person on every phone that syncs afterwards, scrubs them from history, and beats any later edit, so a cousin editing them at the same moment can't bring them back. It can't be undone. You confirm it by typing their name, and a phone receiving an erase shows who it affects and can say not now.

What it can't reach are backup files people already saved and phones that never sync again. The confirmation screen says that plainly.

Where it stands

Steblo is free and in a test phase with a small group of users. It's in Macedonian and English. It imports and exports GEDCOM, so a tree from MyHeritage, Ancestry or Gramps can be the starting point. The only network request it ever makes, apart from loading itself, is a bug report you choose to send, and a test checks that on every build.

The honest downside of no server is no cloud copy. Lose the phone without a backup and your branch lives only on the phones of relatives you've synced with. For a family tree, that turns out to be a decent backup plan anyway.

Try it at steblo.lll.mk.

Logs · By email · Free

Not ready to build anything yet?

Read the logs. Field notes from someone who ships AI agents, Solana apps and hardware every week: what worked, what didn't, and why.

No spam. Reply "unsubscribe" to any email and you're off the list.

Building something with AI agents, Solana or hardware? See how I can help

Keep reading

All logs +

Start a project

Tell me what you're building.

A few lines is enough. I reply within two working days, and if I'm not the right person for it, I'll say so.

Based in: Skopje, North Macedonia · CET · remote

Availability: Taking new projects

Or email me directly

hello@lll.mk
© 2026 LLL.MK (ALEX).
LIVING. LOVING. LEARNING.
BUILT WITH REACT
DEPLOYED ON VERCEL