Adds Obsidian Canvas family tree generation #3

Merged
AlexKucera merged 6 commits from canvas into main 2025-11-02 17:58:06 +01:00
AlexKucera commented 2025-11-02 17:34:45 +01:00 (Migrated from github.com)

Adds functionality to generate an Obsidian Canvas file for visualizing family trees, including:

  • Generates a JSON Canvas file from GEDCOM data, laying out family relationships in a generational tree format.
  • Includes an interactive selection of the root person for the tree, or accepts a root ID as a parameter.
  • Implements overlap prevention in ancestor layout.
  • Supports disconnected family trees.
  • Integrates media and wikilinks in canvas nodes.

Summary by CodeRabbit

  • New Features

    • Convert GEDCOM files to Markdown notes for Obsidian
    • Generate family tree visualizations as Obsidian Canvas files
    • Create alphabetical index of individuals with birth/death information
    • Support for ZIP/GEDZIP archive extraction
    • Configurable flat or hierarchical file organization
    • Media file integration and story extraction
  • Documentation

    • Added project development documentation
    • Added CodeRabbit integration badge
Adds functionality to generate an Obsidian Canvas file for visualizing family trees, including: - Generates a JSON Canvas file from GEDCOM data, laying out family relationships in a generational tree format. - Includes an interactive selection of the root person for the tree, or accepts a root ID as a parameter. - Implements overlap prevention in ancestor layout. - Supports disconnected family trees. - Integrates media and wikilinks in canvas nodes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Convert GEDCOM files to Markdown notes for Obsidian * Generate family tree visualizations as Obsidian Canvas files * Create alphabetical index of individuals with birth/death information * Support for ZIP/GEDZIP archive extraction * Configurable flat or hierarchical file organization * Media file integration and story extraction * **Documentation** * Added project development documentation * Added CodeRabbit integration badge <!-- end of auto-generated comment: release notes by coderabbit.ai -->
coderabbitai[bot] commented 2025-11-02 17:34:53 +01:00 (Migrated from github.com)

Warning

Rate limit exceeded

@AlexKucera has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 37 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 68054dd0af and 5fd41a8e06.

📒 Files selected for processing (6)
  • .gitignore (1 hunks)
  • README.md (2 hunks)
  • src/canvas_generator.py (1 hunks)
  • src/individual.py (2 hunks)
  • src/main.py (7 hunks)
  • src/person_selector.py (1 hunks)
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch canvas

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

<!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- This is an auto-generated comment: rate limited by coderabbit.ai --> > [!WARNING] > ## Rate limit exceeded > > @AlexKucera has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait **9 minutes and 37 seconds** before requesting another review. > > <details> > <summary>⌛ How to resolve this issue?</summary> > > After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. > > We recommend that you space out your commits to avoid hitting the rate limit. > > </details> > > > <details> > <summary>🚦 How do rate limits work?</summary> > > CodeRabbit enforces hourly rate limits for each developer per organization. > > Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. > > Please see our [FAQ](https://docs.coderabbit.ai/faq) for further information. > > </details> > > <details> > <summary>📥 Commits</summary> > > Reviewing files that changed from the base of the PR and between 68054dd0af28d81b626a041feb19c2c4604d7f04 and 5fd41a8e067a5559dffb1ef2a3cd108615bc27aa. > > </details> > > <details> > <summary>📒 Files selected for processing (6)</summary> > > * `.gitignore` (1 hunks) > * `README.md` (2 hunks) > * `src/canvas_generator.py` (1 hunks) > * `src/individual.py` (2 hunks) > * `src/main.py` (7 hunks) > * `src/person_selector.py` (1 hunks) > > </details> <!-- end of auto-generated comment: rate limited by coderabbit.ai --> <!-- finishing_touch_checkbox_start --> <details> <summary>✨ Finishing touches</summary> - [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate docstrings <details> <summary>🧪 Generate unit tests (beta)</summary> - [ ] <!-- {"checkboxId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "radioGroupId": "utg-output-choice-group-3478100146"} --> Create PR with unit tests - [ ] <!-- {"checkboxId": "07f1e7d6-8a8e-4e23-9900-8731c2c87f58", "radioGroupId": "utg-output-choice-group-3478100146"} --> Post copyable unit tests in a comment - [ ] <!-- {"checkboxId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "radioGroupId": "utg-output-choice-group-3478100146"} --> Commit unit tests in branch `canvas` </details> </details> <!-- finishing_touch_checkbox_end --> <!-- tips_start --> --- Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=AlexKucera/gedcom-to-markdown&utm_content=3)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary>❤️ Share</summary> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </details> <sub>Comment `@coderabbitai help` to get the list of available commands and usage tips.</sub> <!-- tips_end -->
AlexKucera commented 2025-11-02 17:50:18 +01:00 (Migrated from github.com)

@coderabbitai full review

@coderabbitai full review
coderabbitai[bot] commented 2025-11-02 17:50:24 +01:00 (Migrated from github.com)
✅ Actions performed

Full review triggered.

<!-- This is an auto-generated reply by CodeRabbit --> <details> <summary>✅ Actions performed</summary> Full review triggered. </details>
Sign in to join this conversation.