sparky45678k downloadsIntegrate local machine learning (OLLAMA) functionality into your notes, enhancing their capabilities.
A fast, lightweight, zero-dependency local LLM plugin for Obsidian (Desktop & Mobile). Connect seamlessly to your local or self-hosted Ollama instance and interact with models directly inside your notes and via a modern sidebar chat panel.
fs dependencies, fixing all mobile data.json loading errors.Ask LLM with selected textSummarize selected textContinue my story and enhance textMake a story from my textFix grammar & improve writingExplain selected text✨ Summarize, 📝 Story, 💡 Brainstorm, 🔧 Fix Grammar, ❓ Explain) built into the sidebar chat interface.Ensure you have Ollama installed and running.
# Pull a model (e.g. tinyllama, llama3:8b, mistral, qwen, etc.)
ollama run tinyllama
Mobile Usage Tip: To use this plugin on Obsidian Mobile (iOS/Android), host Ollama on your local network (e.g.
http://192.168.1.X:11434) or setOLLAMA_HOST=0.0.0.0so your mobile device can reach your PC/server.
cd /path/to/your/vault/.obsidian/plugins/
git clone https://github.com/Sparky4567/obsidian_ai_plugin.git ai_llm
cd ai_llm
npm install
npm run build
main.js, manifest.json, and styles.css from the latest GitHub Release..obsidian/plugins/ai_llm/ in your vault.Open AI Chat Panel).Enter). To stop streaming anytime, click Stop.Ctrl+P or Cmd+P).Ask LLM with selected textSummarize selected textFix grammar & improve writingExplain selected textGo to Obsidian Settings -> AI LLM Settings:
http://127.0.0.1:11434). Click Test Connection to verify availability.# Install development dependencies
npm install
# Build production bundle
npm run build
# Watch mode for live dev edits
npm run dev
Distributed under the MIT License. See LICENSE for details.
Developed with ❤️ by Sparky4567.