hinterdupfinger / obsidian-ollama

MIT License
837 stars 75 forks source link

🦙 Obsidian Ollama

This is a plugin for Obsidian that allows you to use Ollama within your notes. There are different pre configured promts:

- Summarize selection
- Explain selection
- Expand selection
- Rewrite selection (formal)
- Rewrite selection (casual)
- Rewrite selection (active voice)
- Rewrite selection (bullet points)
- Caption selection

But you can also configure your own prompts, specify their model and temperature. The plugin always passes the prompt and either selected text or full note to Ollama and inserts the result into your note at the cursor position.

This requires a local installation of Ollama which can currently be installed as a MacOS app. By default the plugin will connect to http://localhost:11434 - the port of the MacOS app.