Coder Social home page Coder Social logo

gungadean / topola-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pewu/topola-viewer

0.0 0.0 0.0 51.78 MB

Topola Genealogy Viewer – interactive genealogy visualization

Home Page: https://pewu.github.io/topola-viewer

License: Apache License 2.0

Shell 0.19% JavaScript 0.90% TypeScript 96.49% CSS 1.98% HTML 0.46%

topola-viewer's Introduction

Topola Genealogy Viewer

Node.js CI

View your genealogy data using an interactive chart.

Website: https://pewu.github.io/topola-viewer

screenshot

Features

  • Hourglass chart
  • All relatives chart
  • Click on a person to focus
  • Open standard GEDCOM files you can export from any genealogy application
  • Load from URL (just point to a GEDCOM file on the Web)
  • Privacy – your files do not leave your computer
  • Print the whole genealogy tree
  • Export to PDF, PNG, SVG
  • Side panel with details
  • Configuration options
  • Permalinks when loading from URL
  • Cool transition animations

Changelog

Examples

Here is an example from the Web:

If you have data in a genealogy database, you can export your data in GEDCOM format and load it using the "Load from file" menu.

Integrations

Topola Genealogy Viewer is being integrated into more and more Web and desktop applications. Here are the current integrations:

Gramps

To view your Gramps data in Topola Genealogy Viewer, install Interactive Family Tree plugin from the Gramps plugin manager. The plugin will add a Tools->Analysis and Exploration->Interactive Family Tree menu item to Gramps.

Source code: https://github.com/gramps-project/addons-source/tree/master/Topola

Webtrees

Embed Topola Genealogy Viewer in your Webtrees installation with the Topola interactive tree addon.

Source code: https://github.com/PeWu/topola-webtrees

WikiTree

You can browse the WikiTree genealogy tree using Topola Genealogy Viewer. On a WikiTree profile page go to the Family Tree & Tools tab and click the Dynamic Tree by Topola link.

Example: Stephen Hawking

Topola Genealogy Viewer is hosted on apps.wikitree.com to benefit from the ability of being logged in to the WikiTree API.

Running locally

npm install
npm start

Self-hosting

You can host Topola Genealogy Viewer on your own server. There are no specific requirements for the hosting server. There is no code that is executed on the server side. The server only hosts the application files and whole application runs in the browser.

You can build Topola Genealogy Viewer from source code or take a ready-to-deploy package.

Bulid your own

Here are the commands to build the application:

git clone https://github.com/PeWu/topola-viewer.git
cd topola-viewer
npm install
npm run build

Now, take the contents of the build/ folder and host it on your own server.

Use an existing package

Download the following file, unpack it and upload the contents to your server: https://github.com/PeWu/topola-viewer/archive/refs/heads/gh-pages.zip

These are the exact files that are hosted on GitHub pages.

Build for your own data only

You can run Topola Viewer in a "single tree mode" that displays only the GEDCOM you specify. Specify the URL to a GEDCOM file in the REACT_APP_STATIC_URL environment variable when building and running the application.

Run locally with the specified data URL:

REACT_APP_STATIC_URL=https://example.org/sample.ged npm start

Build with the specified data URL:

REACT_APP_STATIC_URL=https://example.org/sample.ged npm run build

The build/ folder will contain files that can be hosted on a Web server.

Alternative build

The topola-webpack tool can build a Topola Genealogy Viewer package bundled together with a GEDCOM file.

Additional options

handleCors

Add &handleCors=false to the URL to avoid using the CORS proxy

embedded

Add &embedded=true to the URL. This option removes the options to open a different file. It is an option that was intended to be used when Topola Genealogy Viewer is in an iframe.

Hosting a GEDCOM file

One of the common ways to host a GEDCOM file which can be used in Topola Genealogy Viewer is using Google Drive. Here are the steps you can follow:

  1. Upload the GEDCOM file to Google Drive
  2. Right-click the file in Google Drive and choose "Get link"
  3. In the "General access" section change "Restricted" to "Anyone with the link" with "Viewer" permissions.
  4. Click "Copy link" to get the link to the GEDCOM file.
  5. Open Topola Genealogy Viewer.
  6. Click "Open URL"
  7. Paste the copied URL and click "Open"
  8. Once the tree opens, copy the current URL.

You can now share the copied URL with someone.

Note that the URL you just copied is not discoverable. Only people who have the link will be able to see your data. It's similar to an "Unlisted" YouTube video – you can see it only if you know the link.

topola-viewer's People

Contributors

pewu avatar czifumasa avatar kentgrigo avatar pushkk avatar dependabot[bot] avatar adamgross42 avatar olivierberten avatar gettingthingsdone avatar albertoriella avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.