Mindmeld is an intelligent mindmap plugin that automatically generates hierarchical knowledge visualizations from your Obsidian notes using AI analysis. Combines the power of LLMs (Claude, ChatGPT) with existing tag structures to create meaningful knowledge maps.
- Smart Content Processing: Analyzes multiple notes simultaneously to identify themes and relationships
- LLM Integration: Supports Anthropic Claude, OpenAI GPT, and custom APIs
- Semantic Understanding: Goes beyond keywords to understand conceptual relationships
- YAML Frontmatter Integration: Incorporates existing tags from your note metadata
- Multi-parent Connections: Nodes can connect to multiple parents based on shared concepts
- Tag Hierarchy Detection: Automatically recognizes and uses tag hierarchies (e.g.,
deeptech/quantum-ai)
- Interactive Mindmaps: Expandable/collapsible tree structure with metadata
- Multiple Output Formats: Generate as new notes, interactive views, or both
- Export Options: Export as Markdown or images (planned)
- Tag Weighting: Configure how heavily existing tags influence the mindmap structure
- Source Selection: Choose from individual files, folders, or tag-based collections
- Provider Options: Support for multiple LLM providers with configurable models
- Clone or download this repository
- Copy the folder to your
.obsidian/plugins/directory - Enable the plugin in Obsidian Settings β Community Plugins
- Configure your API key in the plugin settings
This plugin will be available in the Obsidian community plugin store once it's released.
Choose one of the supported providers:
- Anthropic Claude: Get your API key from console.anthropic.com
- OpenAI GPT: Get your API key from platform.openai.com
- Open Settings β AI Mindmap Generator
- Select your preferred LLM provider
- Enter your API key
- Choose your model (Claude 3.5 Sonnet recommended)
- Test the connection
- Tag Weighting: How much existing tags should influence the mindmap structure
- Output Format: Whether to create notes, open views, or both
- Multi-parent Connections: Enable nodes to connect to multiple parents
- Generate from Current Note: Use Command Palette β "Generate mindmap from current note"
- Select Multiple Sources: Use Command Palette β "Generate mindmap from selected files"
- Use the Ribbon Icon: Click the brain icon in the sidebar
Select specific notes to include in your mindmap analysis.
Choose entire folders (with optional subfolder inclusion) to process all markdown files within.
Generate mindmaps from all notes containing specific tags.
-
Tag Your Notes: Use YAML frontmatter to tag your notes:
--- title: "Quantum Computing Research" tags: [deeptech, quantum-ai, research, breakthrough] ---
-
Select Sources: Choose notes with related tags like
#deeptechand#quantum-ai -
Generate Mindmap: The AI will create a structure incorporating your existing tags:
# Deep Technology Research - Quantum Computing - Quantum AI Applications [ALSO: AI Research] - Hardware Breakthroughs - AI Research - Machine Learning Integration - Quantum-Classical Hybrid Systems [ALSO: Quantum Computing]
| Setting | Description | Default |
|---|---|---|
| LLM Provider | Claude, OpenAI, or Custom API | Claude |
| Model | Specific model version | claude-3-5-sonnet-latest |
| Max Tokens | Maximum response length | 4000 |
| Tag Weighting | How heavily tags influence structure | High |
| Multi-parent Connections | Allow nodes with multiple parents | Enabled |
| Output Format | Note, view, or both | Both |
| Max Source Files | Maximum files per mindmap | 50 |
Input: Notes tagged with #research, #methodology, #findings
Output: Hierarchical research structure with methodology β findings relationships
Input: Course notes with #beginner, #intermediate, #advanced
Output: Progressive learning structure showing skill dependencies
Input: Project files tagged with #frontend, #backend, #database
Output: System architecture mindmap with component relationships
When enabled, the AI can create nodes that connect to multiple parent categories:
# Technology Stack
- Frontend Development
- React Components
- State Management [ALSO: Backend Integration]
- Backend Integration
- API Design
- State Management [ALSO: Frontend Development]
The plugin automatically detects hierarchical tag patterns:
deeptech/quantum-ai/hardwareβ Creates nested structure- Related tags create cross-connections between branches
# Install dependencies
npm install
# Development build with watch mode
npm run dev
# Production build
npm run buildsrc/
βββ main.ts # Plugin entry point
βββ services/
β βββ contentAggregator.ts # Content extraction & processing
β βββ llmService.ts # AI API integration
β βββ mindmapGenerator.ts # Structure generation
βββ components/
β βββ sourceSelectorModal.ts # File/tag selection UI
β βββ mindmapView.ts # Mindmap visualization
βββ types/
βββ interfaces.ts # TypeScript definitions
Typical usage costs (approximate):
- Claude 3.5 Sonnet: ~$0.01-0.05 per mindmap (10-20 notes)
- GPT-4: ~$0.02-0.08 per mindmap (10-20 notes)
- GPT-3.5: ~$0.001-0.005 per mindmap (10-20 notes)
Costs depend on content length and complexity. The plugin includes token limits to control costs.
"API connection failed"
- Verify your API key is correct and active
- Check your internet connection
- Ensure you have API credits remaining
"No content found in selection"
- Make sure selected files contain markdown content
- Check that files aren't empty or contain only frontmatter
"Request timeout"
- Try reducing the number of source files
- Increase the max tokens setting if content is very long
- Check your internet connection stability
Enable debug logging in the plugin settings to see detailed processing information in the Developer Console (Ctrl+Shift+I).
- Basic AI mindmap generation
- Tag integration
- Multi-provider support
- Interactive tree view
- Visual mindmap rendering (using Markmap/D3.js)
- Image export functionality
- Real-time mindmap updates when notes change
- Custom prompt templates
- Collaboration features
- Knowledge graph generation
- Integration with other mindmap plugins
- Mobile app support
- WHen combining mindmaps, the combination does not always maintain the STEEPLE structure, and often will regroup child categories in the wrong STEEPLE category.
- Formatting in the MD file gets confused when merging and adds links as ##s instead of *s
- The source view of the original mindmap generation has a horizontal spread that continues to persist, despite NUMEROUS edits to the GUI -- it's some sort of SVG rendering issue. I fix it, and then it goes back to sucking every time Claude Code makes an update
- Saved MD mindmaps only create *s not ##s, and link associations fail.
Contributions welcome! Please see CONTRIBUTING.md for guidelines.
- Fork the repository
- Clone your fork
- Install dependencies:
npm install - Make your changes
- Test thoroughly
- Submit a pull request
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Wiki
MIT License - see LICENSE for details.
- Inspired by NotebookLM automatic mindmaps
- Built on the Obsidian Plugin API
- Uses Markmap for visualization (planned)
- Thanks to the Obsidian community for feedback and testing
Made with β€οΈ for the Obsidian community