Skip to content
Export a Gramps database using python to a SQLite database and use PHP to display on the Web.
PHP Python CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Sqlite1
images
.gitignore
INSTALL
README.md
basic.css
citation.php
gpl.txt
person.php
place-list.php
place-list.php.html added place-list and sources May 1, 2012
place.php
source-list.php
source.php
surname-list.php
surname.php
template.php

README.md

This exports your Gramps xml database to a SQLite database, using python 2 or 3.

Additionally there are some PHP scripts to display your database on the web.

All privacy settings are honoured.

How To

  1. Make an XML backup of your gramps database.
    • Family Trees -> Make Backup -> Exclude Media -> OK
  2. Convert the backup to an SQLite database
    • python3 gs.py -i MyGrampsXMLBackup.gramps
  3. if you want to do the web pages
    • copy the database to the correct relative directory (../../.sqlite/gramps1.db)
    • copy over the php scripts.

I am no longer using a plugin to do this, as it no longer works with the new gramps versions. This method is also much much faster.

Bell Family Tree

Something went wrong with that request. Please try again.