Skip to main content
DC

Projects · Genealogy

Legajo

The Ancestry export I started from had 342 citations, and every one of them named the same source, a community index of other people's trees.

generations in the fan
7

Legajo is a private family tree for my relatives. It imports that export as a GEDCOM file, the standard format Ancestry, MyHeritage and FamilySearch all read and write, and rates every fact as record-backed, tree-sourced, family memory or unsourced. Only parish registers, the civil registry and the Catastro de Ensenada, a 1750 to 1756 household survey of the Crown of Castile, count as records.

In Spanish archives each baptism names the child's parents, so a line is proved one generation at a time, and one person without a record breaks the chain. By that rule, not one generation on any line of my tree was backed by a record. The fan chart shows up to 7 generations with an empty seat where a line stops, and a Frontier page lists every ancestor whose parents are missing, Spain before 1850 first, since that's as far as the Catastro reaches.

Relatives I invite by email read the tree and suggest corrections, which I approve or reject. When a record isn't online, Legajo drafts a letter in Spanish to the archive that keeps the parish's books, which I send myself.

Screens

The demo tree: an invented family in made-up villages.

  • Legajo's fan chart on the demo tree: the root in the centre, ancestors in rings coloured by birth country, most seats past the third generation still empty
    Fan chart: 10 of 127 seats filled, 1 backed by a record
  • Legajo's map on the demo tree: a globe with an arc from a village in Spain to Argentina in the 1920s, and each line's events by decade below
    Map, 1920s: the family's move from Spain to Argentina
  • Legajo's Frontier page on the demo tree: 8 ancestors missing a father or mother, grouped by line, each with the parish and Catastro year to search next
    Frontier: 8 ancestors missing a parent, the Spanish ones before 1850 at the top
  • Legajo's review queue on the demo tree: records from FamilySearch, Geneanet and MyHeritage, each with how many of the tree's facts it would add or change
    Review: 4 records the research agent found, none in the tree yet
  • Legajo on a phone: the fan chart
  • Legajo on a phone: the map with the decades below

How it's built

It's a Next.js app on Supabase, which holds the tree in Postgres with row-level security, so a relative can read it but never write to it. The fan chart is SVG, and a globe built on MapLibre GL and deck.gl replays the family's moves by decade, one arc from each place to the next. A research agent, a Claude Code skill, drives my own signed-in Chrome through FamilySearch, the PARES archive catalog, the Catastro, MyHeritage and Geneanet, and proposes matches to a review queue. Nothing enters the tree until I approve it, and at a CAPTCHA the agent stops and asks.

I built it through the agent loop, 123 commits in the first 5 days. Two of the 5 research sites are untested, because MyHeritage's search was written from memory and never checked live, and Geneanet's Cloudflare check turns the agent's script away.

Spec

What
A private family tree that imports the Ancestry GEDCOM export and rates every fact by its source
Status
In progress, private to my family, no public link yet
Sources
FamilySearch, PARES, Catastro de Ensenada, MyHeritage, Geneanet
Stack
Next.js, Supabase (Postgres with row-level security, auth, storage), MapLibre GL, deck.gl, pnpm and Turborepo, GEDCOM 5.5.1, English and Spanish UI
Built
From 6 Nov 2026, still in progress
Commits
123 in the first 5 days (to 10 Nov 2026)