MCPcopy Index your code
hub / github.com/brumik/obsidian-ollama-chat

github.com/brumik/obsidian-ollama-chat @0.1.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.4 ↗ · + Follow
26 symbols 52 edges 8 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🦙 Obsidian Ollama Chat

This plugin allows you to ask your local LLM about your own notes.

Ollama plugin link: https://obsidian.md/plugins?id=ollama-chat

Requirements:

Indexing is slow and hard to do in JS. Therefore you will need to run a lightweight python server to do the indexing for you next to your ollama.

For more information about progress and install see: https://github.com/brumik/ollama-obsidian-indexer

The https://github.com/brumik/obsidian-ollama-chat/tree/move-llama-inhouse branch does not need the above server to run but it is slower and less developed in general. If you cannot run the python server though you might find it useful.

To install the branch you need to build the plugin with npm run build and copy it to your obsidian install manually.

Features:

  • Run your own model locally. Set the URL to this model and you roll
  • Index your files on startup and on file modification
  • Open a modal by shortcut or command to ask your question

Future plans:

  • Text streaming when queriing to the LLM
  • Chat window for chat style communication insdead of query.
  • Add commands for useful queries to quick ask them like:
    • Summarize note
    • Summarize topic

Any feature recommendation is welcome.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 19
Class 6
Interface 1

Languages

TypeScript100%

Modules by API surface

src/Ollama.ts15 symbols
src/modal/ChatModal.ts6 symbols
src/OllamaSettingTab.ts4 symbols
src/model/OllamaSettings.ts1 symbols

For agents

$ claude mcp add obsidian-ollama-chat \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page