Obsidian plugin that generates local AI-powered summaries of your notes
One click and voila!
summairize.mov
- Configurable: Customize summary length, AI models, and exclusion rules
- Simple and Seamless: Summaries are added directly to the top of your note
- Multiple AI Providers: Currently supports Ollama; with llama.cpp, LMStudio etc. coming soon.
Local inference through ollama is the first supported method and recommended - this assures your private notes don't leave your machine.
- Install Ollama from https://ollama.ai
- Pull the default model:
ollama pull gemma3:4b
- Ensure Ollama is running:
ollama serve
NOTE: Gemma3:4b is a leading option for quality/size at the time of this writing. You can however use any model.
- Download the
main.js
,manifest.json
andstyles.css
from the latest version on the GitHub releases page - Extract the files to your Obsidian plugins folder:
<vault>/.obsidian/plugins/obsidian-summairize/
- Enable the plugin in Obsidian Settings → Community Plugins
-
Clone this repository into your plugins folder:
cd <vault>/.obsidian/plugins/ git clone https://github.com/yourusername/obsidian-summairize.git cd obsidian-summairize
-
Install dependencies and build:
npm install npm run build
-
Enable the plugin in Obsidian Settings → Community Plugins
- Ribbon Button: Click the brain icon in the left ribbon
- Command Palette: Use
Ctrl/Cmd + P
and search for "Generate Summary"
Optionally, assign a custom hotkey in Settings → Hotkeys
Summaries are added to the top of your notes with the following format:
# Summary
## Generated by AI
*Generated on [timestamp]*
[Your AI-generated summary here]
By default, the plugin excludes:
- Template files (files in "Templates" folders or containing "template" in the name)
- Daily notes (files matching date patterns like "2024-01-15.md")
Access plugin settings via Settings → Summairize:
- Ollama Model: Specify which Ollama model to use (default:
gemma3:4b
) - Summary Length: Target word count for summaries (100-1000 words)
- Exclude Templates: Skip template files
- Template Folders: Specify folder names to exclude
- Exclude Daily Notes: Skip daily note files
- Daily Notes Pattern: Regex pattern for daily note filenames
Please try steps detailed here and file an issue if your problem is still unresolved.
- Additional Model Server integration: llama.cpp, LMStudio etc.
- Remote Model provider integration (if there's demand)
- Custom prompt templates
- Batch summarization by folder/rule
- Auto summarization by folder/rule
- Summary templates
- Inline summary model metadata/info
See development details and how to contribute here