Semantic search

pending

by Shreyas

Search vault notes with local semantic retrieval powered by QMD.

1 starsUpdated 1mo ago0BSDDiscovered via Obsidian Unofficial Plugins
View on GitHub

Semantic search

Fully-local semantic search for Obsidian notes, powered by QMD.

Why this is useful

Keyword search fails when you do not remember exact wording. Semantic search helps you find the right note by meaning, not only literal terms.

This plugin gives you a native Obsidian sidebar that:

  • Finds the closest notes for your query
  • Shows the most relevant snippet for each note
  • Opens the target note on click

Fully local by design

  • Search runs on your machine through your local qmd command.
  • No cloud search API is required.
  • No telemetry is sent by this plugin.

Features

  • Sidebar workflow (Open sidebar)
  • Search selected text from editor (Search selected text)
  • One-click local embedding refresh (Run embeddings now)
  • Configurable mode, score threshold, collection filter, and timeout

Attribution

This plugin is a UI wrapper around QMD and relies on QMD for indexing and retrieval:

Requirements

  • Obsidian desktop
  • QMD installed locally (qmd in PATH or full executable path in plugin settings)
  • Your notes indexed in QMD

Quick setup

  1. Index your vault in QMD:
qmd collection add /path/to/your/vault --name vault
qmd embed
  1. Build this plugin:
npm install
npm run build
  1. Copy main.js, manifest.json, and styles.css to: <Vault>/.obsidian/plugins/semantic-search/
  2. Enable Semantic search in Obsidian Community plugins.

Usage

  1. Run Open sidebar.
  2. Enter a query in natural language.
  3. Click a result to open the note.
  4. If results are stale, run Run embeddings now.

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.