Commit Graph
13 Commits
Author SHA1 Message Date
Jared Howland 2108325252 feat: extract place lat/long coordinates
* Show coordinates for any place that has them
* Add tests for coordinates
2026-04-16 22:16:34 -06:00
AlexKucera 3fd10f8530 Enhances individual filename generation
Improves the individual filename generation logic to include the birth year if available, providing more informative filenames.

Also updates the logging setup to use WARNING level for the root logger and INFO for the main module, and modifies the markdown generator to use YAML frontmatter for metadata.
2025-11-02 19:51:08 +01:00
AlexKucera f571727946 Fixes duplicate filename generation
Addresses an issue where duplicate filenames could be generated
for individuals with the same name, especially in large datasets.

This change introduces a mechanism to ensure unique filenames by
appending a counter to duplicate names. It updates the index
generator and markdown generator to use this mechanism, ensuring
that links between individuals are correctly resolved.
2025-11-02 19:05:51 +01:00
AlexKucera 5fd41a8e06 Merge branch 'main' into canvas 2025-11-02 17:49:36 +01:00
AlexKucera b335a137d3 Enhances individual death info and note generation
Extracts and includes the death year from the death date in individual data.

Adds a flag to control subdirectory usage for generated files.
This ensures correct linking and image paths in notes when using a
subdirectory structure (people/, stories/, media/).

Also, improves error logging during note generation.
2025-11-02 17:29:49 +01:00
AlexKucera 759b966598 Refactors Individual class for parser access
Simplifies Individual class initialization by directly passing the parser instance instead of the GedcomParser object.
This change streamlines the code and avoids unnecessary object attribute access.
Also, it ensures name formatting preserves the original capitalization.
2025-11-02 17:25:06 +01:00
AlexKucera cb960c41fc Adds Obsidian Canvas family tree generator
Introduces new functionality to create interactive family tree visualizations for Obsidian

Adds:
- CanvasGenerator class to generate JSON Canvas files
- Interactive root person selection for canvas creation
- Support for generational tree layout with nodes and edges
- Handling of disconnected family trees

Enhances family tree visualization by allowing users to generate an Obsidian-compatible canvas with person relationships
2025-11-01 17:14:43 +01:00
AlexKucera ecd9889e21 Merge remote-tracking branch 'origin/initial_features' into initial_features 2025-11-01 14:22:11 +01:00
AlexKucera 3e7dc7e916 Initializes project with GEDCOM to Markdown converter
Sets up core functionality for converting genealogy GEDCOM files to Obsidian markdown notes

Implements key components:
- GEDCOM parsing and individual data extraction
- Markdown note generation with rich metadata
- Index file creation
- Comprehensive test suite for robust functionality

Adds initial project structure, configuration, and essential modules for genealogy data conversion
2025-11-01 14:20:53 +01:00
coderabbitai[bot] 2190dc214e 📝 Add docstrings to initial_features
Docstrings generation was requested by @AlexKucera.

* https://github.com/AlexKucera/gedcom-to-markdown/pull/1#issuecomment-3476366503

The following files were modified:

* `src/gedcom_parser.py`
* `src/index_generator.py`
* `src/individual.py`
* `src/main.py`
* `src/markdown_generator.py`
2025-11-01 13:14:59 +00:00
AlexKucera cc46f0a523 Enhance image metadata handling in GEDCOM processing
Improves image reference resolution by extracting additional metadata like file, title, and format

Changes image handling to return richer dictionary information instead of simple references, enabling more detailed image display in markdown generation

Updates markdown output to use extracted image title and filename for more informative image rendering
2025-10-31 15:17:08 +01:00
AlexKucera 3a9112de60 Enhances GEDCOM story parsing and markdown generation
Improves individual story extraction to support:
- More detailed story structure with sections
- Subtitle and description metadata
- Inline image references

Updates README with GEDCOM version compatibility guidelines and line ending troubleshooting tips
2025-10-31 15:02:12 +01:00
AlexKucera e8a2f0b5a4 Initializes GEDCOM to Markdown converter project
Creates core project structure for converting GEDCOM genealogy files to Obsidian-compatible markdown notes

Implements key components:
- GEDCOM file parsing
- Individual data extraction
- Markdown note generation
- Alphabetical index creation

Includes comprehensive documentation and CLI interface for easy usage
2025-10-31 14:44:23 +01:00