Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
This lets you talk to local LLMs in Apple Notes. I saw Obsidian Ollama (https://github.com/hinterdupfinger/obsidian-ollama) and thought it was handy, but I'm too lazy to migrate away from the Apple ecosystem, so I quickly hacked this together. I tend to use Notes as a scratchpad for prompts, so it's nice to do some quick inference without leaving the app.
Notes doesn't really support plugins so I'm using the macOS accessibility API for reading selections and then stream responses using the clipboard (not ideal but it works).
Another option for hacking something like this together could be HammerSpoon. I’ve spent some time with it, but haven’t tried integrating with Apple Notes, I mostly did stuff at the file system level to keep it easy.
https://www.hammerspoon.org/
I'm a big fan of this space and have been hacking on it too. With a few tricks you can use LLMs or anything else you can call from a script, via input capture and simulation, and clipboard. And it can be cross platform!
Here's the project, if it might interest anyone.
https://github.com/jasonjmcghee/plock
I highly recommend MindMac (https://mindmac.app) which adds os-wide support for Ollama (and "Open"AI et el) along with optional clipboard access and text entry.
Related posts
- Show HN: A shell CLI tool to predict your next command enhanced by LLM and RAG
- Ask HN: Is anyone considering cancelling their ChatGPT subscription?
- Show HN: Fixkey is a keyboard-focused AI copilot for writing
- ⟨ Cursor.sh ⟩ - a competitor to GitHub CoPilot
- Little macOS Apps That Make a Big Difference in 2024