Use Ollama to talk to local LLMs in Apple Notes. Inspired by Obsidian Ollama. Why should Obsidian have all the nice plugins?
notesollama.mp4
- SwiftUI for user interface
- AXSwift to access Notes through macOS's accessibility API
- OllamaKit to interface with Ollama
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
.
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
If you'd like to support the development of NotesOllama, check out my other plugin NotesCmdr. I think it's even cooler!
MIT License
Copyright (c) 2024 Anders Rex