Paul Durham36 downloadsFind vectorspace relations between notes and blocks via a local Ollama embedding model.
An Obsidian plugin that shows which of your notes are related to the one you're reading. It runs on your own computer through Ollama, so your notes never leave your machine and there's nothing to pay for.
A similar (most popular) plugin for this problem (semantic cosine similarity) kept triggering a weird graphics bug/freeze on my MacBook, which then forced a full reboot after ~10 minutes of writing. Therefore, I started writing my own plugin. I wanted a free and minimalist design. No bells and whistles. Just does what it says and the user stays 100% in control with as little distractions as possible. Everything is local, no data collection.
I do hope you enjoy this plugin.
If you have any suggestions or recommendations, please open an Issue and I will look into it. :)
Open a note and the side panel shows three tabs:
A small number on a tab, like Blocks², tells you how many results in it are strong matches, so you notice them even while you're on another tab.
Notes you already link to are left out. Every result has a Copy link button.
Also in the panel:
Install Ollama and download the model:
ollama pull bge-m3
Download main.js, manifest.json and styles.css from the latest release and put them in <your vault>/.obsidian/plugins/local-connections/.
In Obsidian, go to Settings → Community plugins and turn on Local Connections.
It asks which folders to index, with the folder of the note you have open already ticked. Pick what you want and click Start indexing.
Open the panel with the ribbon icon or the command palette.
The first run indexes everything in those folders, which can take a while on a big vault. After that, only notes you change are re-indexed.
If you skip step 4, nothing is indexed and the panel stays paused. Click Paused (or Choose folders) to pick folders later.
The settings page only shows the basics: the Ollama address and model, which folders to index, how many results to show, and the score at which a match counts as strong. Everything else is folded away under Advanced settings, and the defaults there are fine for most vaults.
The plugin only talks to your Ollama server (http://localhost:11434 unless you change it). The index is saved as vectors.bin in the plugin's folder. If you're upgrading from an older version, your old vectors.json is converted automatically, checked number by number, and then removed.
Most of the code was written with AI, but not in one go. I've used it every day in my own vault for months and kept fixing and improving it as I went.