Skip to main content

gene-archive

Your family's website: the tree, the documents and your ancestors' stories

Every fact backed by its document.

Release CI License: AGPL-3.0 Python 3.10+ Languages

▶ Live demo · Quick start · Documentation · Русская версия

Scans in shoeboxes, dates in a grandmother's notebook, a tree in MyHeritage, stories that only one aunt still remembers. gene-archive gathers all of it into one beautiful website your whole family can open on a phone: an interactive tree, a card for every person with the documents behind each date, an archive of scans with transcriptions, a map of family places and the story of the family — in English, Russian, Romanian and Ukrainian.

Relatives don't just read it. They leave comments, suggest corrections and, with an account, edit the archive right in the browser. You keep everything: one JSON file, your own domain, free hosting, full history in git, GEDCOM in and out.

The tree and a person's card

Grew out of a real family archive: ~550 people, ~500 documents, three countries, relatives commenting in three languages. The demo is a fictional family made to show every feature. How it came about: an article on Habr (in Russian).

Why gene-archive

📜 Proof for every fact Each date and place shows where it comes from — a document, a family story, a calculation from an age — and S12 in any text opens the scan. Doubtful links are drawn dashed, not hidden.
👨‍👩‍👧 Made for the whole family Relatives read it like a book, find themselves in the tree, ask "how are we related?", comment and suggest corrections — no registration on a platform.
✏️ Edit in the browser Accounts for editors and administrators, checks before every save, nobody overwrites anybody, every change is a git commit you can undo.
🔒 Private by default Living people show only their names — no dates, places or documents, not even in the data file or the GEDCOM export.
🏠 Your data, your site One JSON file, plain HTML, free hosting on GitHub Pages or Netlify, or your own server. No subscription, no lock-in: GEDCOM import and export.
🌍 Four languages English, Russian, Romanian and Ukrainian interface out of the box; your own texts can be translated too.
🤖 AI-ready Every new site gets AGENTS.md for Claude Code and Codex, plus guides and ready prompts for research in archives and open sources. Its companion genealogy-mcp gives any AI assistant 171 archives and databases, name variants, old calendars and evidence checks — and writes what it finds into your site through its checks and logs.

Public journals now require review: with privacy.hide_living=true, entries in research_log and corrections appear only when explicitly marked "visibility":"public". Existing entries stay in the source archive and are private by default. See reliable edits and journal visibility.

Features

  • Hourglass tree around any person, a whole-tree chart, export to PNG, branches by surname.
  • Person card: dates and places with their documents, alternative versions of a date, relatives, a connected life story.
  • How we are related: the exact relation between any two people — second cousin once removed, great-uncle, half-brother, in-laws — with the chain of people in between. In Russian and Romanian too, with their own kinship terms.
  • Search everything from the magnifier: names, villages, any word of a document transcription, places, the story, leads — word endings, the pre-1918 spelling and Latin/Cyrillic letters do not get in the way (“Kolodin” finds Колодин).
  • People: a calendar of birthdays and anniversaries, surname pages, the zodiac.

How we are related

🗂 Archive of documents

  • Every scan and photograph with a transcription, the back of a photo, PDF previews.
  • Filters by type of document and by family line; restored photos next to originals.
  • Sources: every archive and database you searched — what it is, what was found there, the documents and the research-log entries for each; plus a log of corrections.
Archive, Russian edition Calendar

🗺 Places and the family story

  • A page for every place: its story, the family's people there by generation, documents, a mini-map, "then and now" names and which church kept the registers; static places/… pages for search engines.
  • The roads of the family's branches: places in the order of years, numbered stops on each branch's map (Leaflet + OpenStreetMap), and all places on one map.
  • The Story page: your narrative with a timeline and a "by place" filter.
  • Archive in numbers: people, documents and places, where the documents come from, what confirms each person, the family lines, births by century and the research log — counted at every build.
  • Questions to relatives: what the family does not know yet — answered right on the site.

✏️ Online editor

  • People, families, documents (with scan uploads) and places in a browser — on a phone too.
  • Dates the way people write them: "about 1899", "between 1900 and 1905", "9.10.1899".
  • A change that would break the data is not saved; the editor says what is wrong.
  • Two people editing the same record? The second one is warned instead of overwriting.
  • Every change goes to the corrections log and becomes a git commit by its author; an administrator can restore any version.
  • Suggest a correction: readers send a fix from a person's card; an administrator applies it in one click.

The online editor

🔎 Research assistant

  • Data checks (gene hints and the editor's "Checks" tab): impossible facts first — born after the mother's death, a parent aged 11 — then gaps: no dates, a date without a document, people not connected to the tree, documents nobody refers to.
  • A step-by-step research guide and ready AI prompts for archives and open sources.
Data checks Readers' proposals

🚀 Publish anywhere

  • gene build → plain HTML for GitHub Pages, Netlify, Cloudflare Pages or any web server.
  • gene serve or the Docker image adds comments, a PIN for a private archive and the editor.
  • Share any person, document or place: the link shows a photo, a name and a description in Telegram, WhatsApp and Facebook.
  • Search engines find every person and surname: static pages, sitemap, Schema.org; living people are noindex.

How it compares

gene-archive Platforms (MyHeritage, Ancestry…) Self-hosted apps (webtrees, Gramps Web)
Your own site and domain ✓ — ✓
Free static hosting, no database ✓ — —
Free, open source ✓ (AGPL-3.0) subscription ✓
A document behind every fact, on the page ✓ partly partly
Story, map and archive in one site ✓ partly partly
Relatives comment and suggest corrections ✓ ✓ partly
Editing in a browser with roles and history ✓ ✓ ✓
DNA matches, hints from billions of records — ✓ —

gene-archive does not try to be a database of the world's records. It is the place where your family's evidence and stories live — and where your relatives actually look.

Archive safety and review

Private backups with tested restoration, exact publication previews and related changes as one transaction are available through the CLI. See commands and examples.

Quick start

You need Python 3.10+. Pillow makes thumbnails (optional), pdftoppm from poppler-utils makes PDF previews (optional).

pip install "gene-archive[images]"

gene init my-family --example     # a copy of the demo family to look around
gene serve my-family              # → http://127.0.0.1:8111

Start your own archive:

gene init my-family --lang en     # an empty site: family_tree.json + site.json
gene import tree.ged my-family    # …or start from a GEDCOM file
gene validate my-family           # check the data
gene build my-family              # the site is in my-family/_site

Then fill in family_tree.json (people, families, documents, places — see the data format) and site.json (settings), put scans into sources/, and write the story in content/story.html (content pages).

New to genealogy? Read How to start researching your family history: interviews, home documents, online databases, archives, evidence and how to record it.

Quick start with an AI assistant

Works in any AI coding environment — Claude Code, Codex, Cursor, GitHub Copilot, Windsurf, Gemini CLI. Open an empty folder in it and paste:

Set up a family archive site with gene-archive (https://github.com/igormel81/gene_archive) in this folder.
1. Install it: pip install "gene-archive[images]"
2. Create the site: gene init . --lang en (or gene import <my file>.ged . if I give you a GEDCOM file),
   then git init and a first commit.
3. Read AGENTS.md and follow it in all further work: never invent facts or relationships,
   cite a document for every fact, keep doubtful things as leads.
4. Ask me about the family (my parents, grandparents, what documents and photos we have at home)
   and fill family_tree.json and site.json from my answers.
5. Run gene validate and gene serve ., give me the link and show what you changed.

Then just talk to it: "here is a scan of my grandfather's birth certificate", "my aunt says…". More ready-made requests and the rules for reviewing the agent's work: docs/ai-assistants.md.

Documentation

English Русский
How to start the research research-guide.md research-guide.ru.md
AI requests for research in open sources and archives research-prompts.md research-prompts.ru.md
Filling the site with Claude or Codex ai-assistants.md ai-assistants.ru.md
Data format (family_tree.json) data-format.md data-format.ru.md
Settings (site.json) configuration.md configuration.ru.md
Story, biographies, news content.md content.ru.md
Languages and translations translations.md translations.ru.md
Publishing: GitHub Pages, server, Docker, comments deploy.md deploy.ru.md
Online editor: accounts, history, readers' proposals editor.md editor.ru.md
Contributing to the engine CONTRIBUTING.md CONTRIBUTING.ru.md

Commands

Command What it does
gene init <folder> [--lang ru|en|ro] [--example] a new site (or a copy of the demo)
gene import tree.ged <folder> [--root @I12@] a new site from GEDCOM
gene validate [folder] errors and warnings in the data
gene build [folder] [-o out] [--base-url URL] build the static site
gene serve [folder] [--pin 1234] [--moderate] build and serve with comments
gene serve <folder> --editor … and the online editor at /edit/
gene users <folder> add NAME [--role admin] | invite | list | role | disable | passwd editor accounts
gene comments <folder> list|approve ID|hide ID|done ID "note" moderate comments
gene gedcom [folder] [-o file.ged] [--version 5.5.1|7.0] [--for geni|public] GEDCOM for Gramps and others; --for geni — for uploading to Geni, MyHeritage, Ancestry; --for public — for open forums, living people without names (--full: with living people, for your own backup)
gene translations <folder> <lang> your texts that have no translation yet
gene hints [folder] [--json] gaps and doubtful facts — a to-do list for the research

Messages are in Russian when the system language is Russian (or GENE_LANG=ru).

License

GNU AGPL-3.0-or-later: you may use, change and share the code; if you publish a changed version or run it as a service for others, share your changes under the same license. Sites you build with it — your data, texts and photos — are yours, the license does not cover them. Leaflet is BSD-licensed, map tiles © OpenStreetMap contributors — see THIRD_PARTY.md.

Metadata

Release files for gene-archive 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gene-archive 0.8.0
File Size Uploaded Provenance Actions
gene_archive-0.8.0.tar.gz 398.9 kB With provenance Details for gene_archive-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gene-archive 0.8.0
File Interpreter ABI Platform Actions
gene_archive-0.8.0-py3-none-any.whl Python 3 none any Details for gene_archive-0.8.0-py3-none-any.whl

Total release size: 777.8 kB

Release files / gene_archive-0.8.0.tar.gz

Download URL gene_archive-0.8.0.tar.gz
Size 398.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3399568f62d297360d87fe8575c00de0cb60b7b2c240a52084219f6a62fc2ed1
BLAKE2b-256 checksum
How to use checksums
647518cfb69a7d880f4ea3087a25223a0fca9dff4195ac1854d48c9d0336fef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / gene_archive-0.8.0-py3-none-any.whl

Download URL gene_archive-0.8.0-py3-none-any.whl
Size 378.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8052bc56bf1d28e4f417528a2383c125b50d2b92dafc40d3478e433eb3e23613
BLAKE2b-256 checksum
How to use checksums
1880b24b0703b5303e89be32059948b0c28f2fff346090685773e20d668d6796
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for gene-archive 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gene_archive-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page