Mohamed Douare Logo

← Back to portfolio

Embertree: a private space for a family's stories, photos and tree

Embertree is a private space where relatives who live in different countries build one family tree together, write and record each other's stories, and keep the photos that go with them. Nothing in it is public or searchable by strangers, and it is end-to-end encrypted: what a family puts in can be read on its own devices and nowhere else, Embertree's servers included.

Live at embertree.app. The iPhone app has been in the App Store since October 25, 2026, and the Android app is on Google Play.

The home page of embertree.app: "A private space for your family's stories, photos, and people", above the start of a sample family tree. (opens in a new tab)
embertree.app, December 2026.

What it is

Picture the box of old photos at a grandparent's house, and the one person who still knows who is in each of them. Embertree puts that box online for one family: every person in the tree has a profile where relatives write stories, record voice memories and add photos and short videos. It is made for families spread across countries, and an invite link is designed to bring a grandmother into the family in about a minute.

It is also built to be calm, with no notifications asking people to come back, and the site lists a few things as permanent decisions: no DNA tests, no public tree, no AI-generated stories or photos and no ads.

What I built

A web app and its API. Next.js 15 and React 19 on the web, with Hono on Node 22 and Drizzle on PostgreSQL behind it. They share their schemas and their domain rules (the layout of the tree, the family relationships, the plans) through one package.

An app for iPhone and Android in Expo and React Native, at parity with the web: offline reading, photo capture, a biometric lock, and a tree laid out by the same function as on the web. Its French is typed against its English, so a missing translation is a compile error.

End-to-end encryption. Each family has a 256-bit key made on the device that creates the family. Each signed-in browser or phone has its own key pair, whose private half never leaves it, and the server keeps only copies of the family key sealed to each device. An invite link carries the key in the part of the address that a browser never sends to a server, and a 26-character recovery code opens everything on a new device.

Hosting. On my own server since August 2026, with Docker Compose (PostgreSQL, MinIO, the API and the web app) behind the shared Caddy edge. The app reads all its settings from environment variables, so moving it never touches its code.

Decisions and why

The family holds the keys, not Embertree (ADR 0019). Privacy comes first: the service should not be able to see what families put in. Transcription of voice stories on the server was switched off the same day, since it can't run on sealed audio, and thumbnails and video encoding moved onto the devices.

One server rather than a managed cloud (ADR 0016). The first production on AWS cost about $73 a month while it served no real users; the same stack now runs on a server that was already paid for.

A real native app (ADR 0015). Expo and React Native rather than a web page in a wrapper, because offline reading, the camera and a biometric lock need a native app, and React Native keeps one language and the shared schemas.

An archive outlives its subscriber (ADR 0013). A lapsed plan never locks a family out: reading and exporting stay open, a second owner can take over, and one-time payments exist for families who don't want a subscription to look after.

What the server can and cannot see

Sealed on the device before it leaves, and never readable by the server: the names, dates, places and notes of every person, the stories and their recordings, the comments and captions, and the photos and videos themselves.

Still seen by the server, because it runs the service: the account (email, display name, language), who belongs to which family with which role, and the shape of things without their content, such as which record links to which, sizes and dates. No AI reads a family's content, and no notification carries any of it.

Numbers

Web, iPhone and Android, in English and French.

300 commits, 19 architecture decision records, 105 test files (57 for the mobile app, 27 for the API, 15 for the shared rules, 6 for the web app).

First commit on April 27, 2026; a first production environment on June 7, 2026; on my own server since August 8, 2026; version 1.0.0 in the App Store on October 25, 2026.

Stack

TypeScript monorepo (pnpm, Turborepo) · Next.js 15 and React 19 · Tailwind CSS 4 and shadcn/ui · Hono on Node 22 · Drizzle on PostgreSQL · Expo SDK 54 and React Native · AES-256-GCM, X25519 and HKDF (noble libraries) · MinIO · Stripe · Docker Compose and Caddy

See also

Terrako: your land on the map, your papers kept safe

Stela: a digital museum of what humans leave behind

Pilume: the model proposes, the system verifies, the pharmacist decides

Send me an email about this product and I will walk you through it.