by poltavtcev
AI-powered dream analysis, entity extraction, vector similarity connections, and lucid dreaming dashboard for Obsidian.
π Dream Analyzer for Obsidian
Dream Analyzer is an AI-assisted dream journaling plugin for Obsidian.
It helps organize dream journals by analyzing dream entries, extracting structured entities, discovering connections between dreams, and tracking recurring themes.
Dream Analyzer uses AI to assist reflection and organization. It does not provide psychological or medical interpretations.
π Features
π§ AI Dream Analysis
Automatically analyzes dream entries and generates structured information:
- Dream summaries
- Characters
- Places
- Objects
- Emotions
- Symbols
- Concepts
Supports OpenAI models including:
gpt-4o-minigpt-4ogpt-5-mini
π€ Entity Management
Automatically creates and updates entity notes:
- Characters
- Places
- Objects
- Emotions
- Symbols
- Concepts
Entity notes preserve:
- Appearance history
- Related dreams
- Recurring contexts
- Connections between experiences
Includes smart duplicate prevention across categories.
π Dream Similarity Analysis
Finds related dreams using combined semantic and entity-based matching:
- 50% Vector Cosine Similarity
- 50% Shared Entity Similarity
Displays the most connected dreams based on:
- Semantic meaning
- Recurring entities
- Shared themes
π Dream Analytics Dashboard & Indexes
Automatically generates a dream dashboard and separate index notes:
- Journal and lucidity statistics
- Dream signs and reality check triggers
- Emotional trends
- Recurring concepts and creative ideas
- Separate Index folder (
Index/orΠΠ½Π΄Π΅ΠΊΡ/) for character, place, object, emotion, symbol, and concept tables.
π Calendar and Templater Integration
Provides:
- Dream note templates
- Templater compatibility
- Calendar integration
- Date picker modal for creating historical dream entries
π Real-Time Synchronization
Automatically updates internal references when:
- Dream notes are renamed
- Entity notes are renamed
- Files are moved inside the vault
π§Ή Data Management
Includes utilities for:
- Database reset
- Cleanup of generated data
- Rebuilding analysis indexes
Uses native Obsidian APIs for frontmatter processing.
π Requirements
For live interactive tables in the Dashboard and Index pages, installing the Dataview plugin is highly recommended.
βοΈ Configuration
- Open Obsidian Settings -> Dream Analyzer.
- Enter your OpenAI API Key (or save it securely via Obsidian SecretStorage).
- Select your preferred AI Model and Embedding Model.
- Set your base Dreams Storage Folder (defaults to
Dreams).
π¦ Installation
Via Obsidian Community Plugins (Upcoming)
Search for Dream Analyzer in Obsidian's Community Plugins directory and click Install.
Manual Installation
- Download
main.jsandmanifest.jsonfrom the latest GitHub Release. - Create a folder in your vault:
.obsidian/plugins/dream-analyzer/ - Copy
main.jsandmanifest.jsoninto.obsidian/plugins/dream-analyzer/ - Reload Obsidian plugins and enable Dream Analyzer.
π Network Use & Privacy
This plugin communicates with the OpenAI API (api.openai.com) when you analyze dreams or generate embeddings:
| What is sent | Destination | When |
|---|---|---|
| Dream narrative text (YAML frontmatter and prior AI sections are stripped first) | https://api.openai.com/v1/chat/completions | Each time you run "Analyze Dream" |
| Existing similar entities context (names and descriptions) | https://api.openai.com/v1/chat/completions | During dream analysis |
| Dream text for vector embeddings (stripped of frontmatter and prior AI sections) | https://api.openai.com/v1/embeddings | During dream analysis, plus background indexing of unindexed dream notes |
| Entity name and synthetic description | https://api.openai.com/v1/embeddings | When rebuilding entity embeddings |
Important privacy guarantees:
- No network requests occur without your OpenAI API key.
- Your vault remains private. Only the dream narrative text is sent β YAML frontmatter, personal tags, creation dates, and previously generated
# AI ...sections are stripped before transmission. - Bulk indexing is sanitized. When analyzing a dream, the plugin generates vectors for any unindexed dream notes in your dreams folder to enable similarity search; each note passes through
extractDreamTextOnly()so raw file metadata is never sent. - No telemetry, analytics, or third-party tracking. The plugin connects exclusively to the OpenAI API endpoints listed above.
π License
This project is licensed under the MIT License.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.