A set of scripts to transform a GEDCOM file into an HTML page Python 3.9+
Informations:
- npm version 6.14.12
- nodejs 18.12.0 (installed via chocolatey)
- Clone tmcw/gedcom
- Install it globally
npm install -g
- Add it as ths project's dependency:
npm install gedcom
npm install xmlhttprequest
- In familyTreeDisplayer/ run
npm init
- Add dependencies to tmcw/gedcom
("gedcom": "^3.0.0")
to use its functions
- Export a GEDCOM file in UTF-8 format
- In app.js, paste it in the variable ged_me, delimited with `
- Run
1_gedToJson.bat
to make a RESULT.json - In
treeConstants.py
, replace the fields by yours. Be careful, the surname is delimited by / - Run
2_jsonToHtml.bat
. Set DEBUG_MODE in jsonToGoogleData.py to True to include the orphan nodes and export every formatted dates - Run
familyTreeDisplayer.html
in a browser