Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andersrex/notesollama
Use Ollama to talk to local LLMs in Apple Notes
https://github.com/andersrex/notesollama
Last synced: 12 days ago
JSON representation
Use Ollama to talk to local LLMs in Apple Notes
- Host: GitHub
- URL: https://github.com/andersrex/notesollama
- Owner: andersrex
- Created: 2024-02-19T12:47:04.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T07:14:10.000Z (4 months ago)
- Last Synced: 2024-08-01T16:55:59.633Z (3 months ago)
- Language: Swift
- Homepage: https://smallest.app/notesollama
- Size: 145 KB
- Stars: 544
- Watchers: 10
- Forks: 36
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NotesOllama
Use [Ollama](https://ollama.com) to talk to local LLMs in Apple Notes. Inspired by [Obsidian Ollama](https://github.com/hinterdupfinger/obsidian-ollama). Why should Obsidian have all the nice plugins?
## Demo
## Stack
- SwiftUI for user interface
- [AXSwift](https://github.com/tmandry/AXSwift) to access Notes through macOS's accessibility API
- [OllamaKit](https://github.com/kevinhermawan/OllamaKit) to interface with Ollama## Usage
Open the project in Xcode to run, or download the binary [here](https://smallest.app/notesollama).
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](https://smallest.app/notescmdr). I think it's even cooler!
## License
MIT License
Copyright (c) 2024 Anders Rex