Parse any GEDCOM file and generate a self-contained interactive HTML dashboard.
python3 scripts/build_explorer.py <input.ged> [output.html] [--title "Title"] [--subtitle "Subtitle"]
# Basic — outputs family-explorer.html in current directory
python3 scripts/build_explorer.py ~/my-family.ged
# Custom output path and title
python3 scripts/build_explorer.py ~/my-family.ged ~/Desktop/hart-family.html \
--title "Hart Family Tree" --subtitle "Six generations of history"
# Demo with bundled US Presidents data
python3 scripts/build_explorer.py assets/demo-presidents.ged presidents.html \
--title "Presidential Family Explorer" --subtitle "US Presidents & Their Ancestors"
build_explorer.py parses the GEDCOM, extracts all individuals + families, computes stats, and embeds everything as inline JSON in a single HTML file. No server needed — just open the HTML.
Auto-detects US Presidents from OCCU (occupation) fields. Works with any GEDCOM; presidential features simply won't appear if no president data exists.
Users can export .ged files from:
assets/demo-presidents.ged — Public domain US Presidents GEDCOM (2,322 people, 1,115 families, 44 presidents). Source: webtreeprint.com.
cd /path/to/output/dir
python3 -m http.server 8899
# Open http://localhost:8899/family-explorer.html
The generated HTML is fully self-contained. To customize:
:root for theming共 1 个版本