← all repositories
bramses/chatgpt-md

ChatGPT inside your notes, not beside them

An Obsidian plugin that turns any Markdown file into a chat thread with AI—local or cloud, with your vault as context.

chatgpt-md
Velocity · 7d
+1.2
★ / day
Trend
steady
star history

What it does

ChatGPT MD embeds conversations directly into Obsidian notes. You type, hit a command, and the AI responds inline—no tab switching, no copy-paste. It supports OpenAI, OpenRouter.ai, and local models via Ollama or LM Studio, with per-note configuration through YAML frontmatter.

The interesting bit

The tool-calling architecture is deliberately paranoid in a good way: the AI can search your vault or the web, but only after you approve each request and filter the results. Everything executes locally through Obsidian’s API; nothing gets piped back to the model without explicit consent. There’s also an “AI Wizard” that generates agent personas for you—name, temperature, system prompt, and all.

Key highlights

  • Conversations live in plain Markdown, editable and resumable
  • Switch models mid-chat via frontmatter (ollama@llama3.2, gpt-5, etc.)
  • Vault search, file reading, and web search with human-in-the-loop approval
  • Local-first option through Ollama; zero API costs, zero telemetry
  • Reusable agent templates stored as Markdown files with frontmatter

Caveats

  • Tool calling requires capable models; older ones may not support function calling
  • The README notes a deprecated url parameter, so existing templates may need migration
  • Default max_tokens is 300—fine for quick replies, too tight for code or longform

Verdict Worth a look if you already live in Obsidian and want AI that reads your notes, not just the internet. Skip it if you prefer isolated chat UIs or don’t want to manage frontmatter.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.