Connecting a private Obsidian vault to Ollama on macOS
- Models & engines
- Ollama with llama3.1 and nomic-embed-text
- Key gotcha
- Private GPT turned out to be unnecessary for Obsidian
What they built
The author wanted AI summaries and answers about content in Obsidian, but the vault holds lots of private meeting notes, so connecting it to public services was out. They couldn't find an easy guide, so they wrote one.
They first installed Private GPT, then found the Obsidian plugins could talk to Ollama directly.
Setup
- macOS with Homebrew
- Ollama with llama3.1 and nomic-embed-text
- Obsidian plugins: Local GPT and AI Providers
- (Optional) Private GPT, which needs Python 3.11, not 3.13
Gotchas
- Private GPT turned out to be unnecessary for Obsidian
- Local GPT has no context menu out of the box; bind a hotkey to 'Local GPT: Show context menu'
Do it yourself
- Install Ollama and pull the models
- In AI Providers add an Ollama provider at http://127.0.0.1:11434 and pick llama3.1:latest (plus nomic-embed-text)
- In Local GPT set the Main and Embedding providers
- Bind a hotkey (author used OPT+CMD+G) to the Local GPT context menu
- Run Ollama persistently with brew services
brew install ollama
ollama pull llama3.1
ollama pull nomic-embed-text
brew services start ollamaSimilar setups
Breaking re-ranker ties with Gemma's own token probabilities on a Mac mini
A developer testing a local retrieval setup on an M4 Mac mini fixed tied re-ranker scores from gemma3:12b by reading the model's digit probabilities from Ollama, getting the right article first on 11 of 12 questions.
A local second brain for Markdown notes with Ollama, Whisper and SQLite
WeekendAiProjects built a phone-to-computer note capture system that tidies, links, searches and answers questions over a Markdown vault with local Qwen models, and graded every answer by hand.
Connecting a self-hosted Ollama server to WordPress, and why localhost fails
John Rotherham, who works on a WordPress SEO plugin, walks through pointing WordPress AI features at your own Ollama server instead of a cloud API key, including where Ollama must run, how to lock down its unauthenticated port, and how to test from PHP.
A private ChatGPT for a family of four on a Mac mini
One always-on M4 Mac mini serves Open WebUI to every phone and laptop in the house. Kids get a tutor preset, and three AI subscriptions are gone.