Skip to content

andersrex/notesollama

Repository files navigation

NotesOllama

Use Ollama to talk to local LLMs in Apple Notes. Inspired by Obsidian Ollama. Why should Obsidian have all the nice plugins?

Demo

notesollama.mp4

Stack

  • SwiftUI for user interface
  • AXSwift to access Notes through macOS's accessibility API
  • OllamaKit to interface with Ollama

Usage

Open the project in Xcode to run, or download the binary here.

NotesOllama assumes you have Ollama running on the default macOS port (http://localhost:11434). If you are running Ollama on a different host or port, you need to set the value of the Ollama endpoint in the environment variable NOTESOLLAMA_OLLAMA_BASE_URL.

Custom Prompts

You can change the default prompts by editing the commands.json file inside the NotesOllama executable and restarting from the magic wand menu.

Right click the NotesOllama executable in Finder and select "Show Package Contents" and open Contents/Resources/commands.json in a text editor.

Or use vim: $ vim NotesOllama.app/Contents/Resources/commands.json

Support

If you'd like to support the development of NotesOllama, check out my other plugin NotesCmdr. I think it's even cooler!

License

MIT License

Copyright (c) 2024 Anders Rex

About

Use Ollama to talk to local LLMs in Apple Notes

Resources

Stars

Watchers

Forks

Languages