Skip to content

leafney/obsidian-xmind-linker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

XMind Linker

Release Latest Release License

View XMind files in Obsidian and connect to XMind software for editing.

๐Ÿ“ธ Screenshots

XMind File Viewing in Obsidian

XMind Viewer in Action View XMind mind maps directly in Obsidian with full interactive features

Embedded XMind Files in Markdown

Embedded XMind Files Seamlessly embed XMind files in your notes using simple markdown syntax

๐ŸŒŸ Core Features

  • ๐Ÿ“– File Viewing: View XMind mind maps directly in Obsidian
  • ๐Ÿ”— Software Connection: One-click connection to XMind software for editing
  • ๐Ÿ“„ Note Embedding: Embed XMind files in Markdown using ![[file.xmind]] syntax
  • โšก Seamless Workflow: Smooth workflow between viewing and editing
  • ๐Ÿ–ผ๏ธ Thumbnail Preview: Auto-extract thumbnails for quick preview
  • ๐ŸŒ Multi-Language: Support for English and Simplified Chinese interface

๐Ÿ“ฆ Installation

Method 1: Community Plugin Store

  1. Open Obsidian Settings
  2. Go to Community Plugins โ†’ Browse
  3. Search for "XMind Linker"
  4. Install and enable the plugin

Method 2: Manual Installation

  1. Download the latest release files
  2. Extract to Obsidian plugins directory: {vault}/.obsidian/plugins/xmind-linker/
  3. Enable the plugin in Obsidian settings

Method 3: Development Build

  1. Clone the repository to plugins directory
  2. Install dependencies and build
# Clone repository
git clone https://github.com/leafney/obsidian-xmind-linker.git

# Enter directory
cd obsidian-xmind-linker

# Install dependencies (using Bun)
bun install

# Build plugin
bun run build

๐Ÿš€ Usage

1. Direct XMind File Viewing

  • Double-click .xmind files in Obsidian file explorer

2. Embedding in Markdown

# My Mind Map

Here's an embedded XMind file:

![[my-mindmap.xmind]]

Click to preview or hover for action options.

3. Thumbnail Preview

When thumbnail extraction is enabled, the plugin automatically extracts thumbnails from XMind files for direct use in Markdown:

![[my-mindmap.xmind]]

3. Connect to XMind for Editing

  • Hover over embedded files for quick actions
  • Click "Open in XMind" to launch external editor
  • Return to Obsidian to view after editing in XMind

โš™๏ธ Settings

Configure in Obsidian Settings โ†’ Plugin Options โ†’ XMind Linker:

  • Language: Choose interface language (English/็ฎ€ไฝ“ไธญๆ–‡) with automatic detection
  • System Integration: Enable connection to XMind software
  • Hover Actions: Display action menu on hover
  • Thumbnail Cache: Auto-extract thumbnails for faster preview

๐Ÿ› ๏ธ Technical Implementation

Core Technology

  • XMind file parsing: Native support for .xmind format (ZIP-based)
  • System integration: Cross-platform XMind software invocation
  • Interactive preview: Full preview powered by xmind-embed-viewer
  • Smart caching: Thumbnail extraction and caching mechanism

๐Ÿ”ง Development Guide

Requirements

  • Node.js 16+
  • Bun 1.0+
  • Obsidian 0.15.0+

Development Workflow

# Install dependencies
bun install

# Development mode (watch file changes)
bun run dev

# Build production version
bun run build

# Run tests
bun test

Release Process

For maintainers who need to publish new versions:

  1. Create and push tag (triggers automatic build):

    # ๆŽจ่ไฝฟ็”จไธๅธฆ v ๅ‰็ผ€็š„ๆ ‡็ญพๆ ผๅผ๏ผˆ็ฌฆๅˆ Obsidian ๅฎ˜ๆ–น่ฆๆฑ‚๏ผ‰
    git tag 1.1.0
    git push origin 1.1.0
  2. Wait for GitHub Actions to complete the build and create the release

  3. Update repository manifest using the provided script:

    ./update-version.sh 1.1.0

This process ensures that:

  • The release is automatically built and published
  • The repository's manifest.json is updated for Obsidian Plugin Store compatibility
  • Users can download updates through Obsidian's plugin manager

Debugging Tips

  1. Enable developer tools in Obsidian: Ctrl+Shift+I
  2. Check console output for plugin status
  3. Use console.log for debugging

๐Ÿ™ Acknowledgments

  • xmind-embed-viewer - Xmind Core preview functionality
  • Obsidian - Powerful knowledge management tool
  • Cursor - AI-powered code editor that provided powerful development support for this project
  • obsidian-xmind-viewer - Excellent open-source project that provided valuable design insights and technical inspiration

๐Ÿ“ž Support

If you encounter issues or have suggestions:

  1. Check Issues
  2. Create a new Issue
  3. Join the discussion

๐Ÿ“š Documentation

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Enjoy using XMind mind maps in Obsidian! ๐ŸŽ‰

About

View XMind mind maps directly in Obsidian and seamlessly connect to XMind software for editing

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors