Appearance
Readme
Ollama
A PopClip extension to interact with Ollama models.
Actions
The main action, Chat (llama icon), sends the selected text to Ollama and either pastes the response after the selected text, replaces the selected text with the response, or copies the response to the clipboard.
The Reset action (broom icon) clears the current chat history to start a fresh conversation.
Prerequisites
Requires Ollama to be installed locally. Please see Ollama's Docs for instructions.
Important: after installation you will need, at minimum, to download a model (ollama pull <modelname>) and then start the Ollama server (ollama serve).
Configuration
Model
Specify the model name, for example gemma3. Find models at: https://ollama.com/search.
System Message
Optional message to tell the assistant how to behave.
API Root
The base URL for the Ollama API. The default is: http://127.0.0.1:11434/api.
Response Handling
Control how the response is handled. The options are:
- Append (default): Append the response to the end of the selected text.
- Replace: Replace the selected text with the response.
- Copy: Copy the response to the clipboard.
Modifiers:
- Shift(⇧) to copy the response to the clipboard.
- Option(⌥) in append mode, replace instead. In replace mode, append instead.
Reset Timer (minutes)
After this many minutes without any messages, the extension will automatically reset the conversation. Set it blank to never reset, and set it to 0 to always reset. The default value is 15 minutes.
Show Reset Button
Control whether or not to show the reset action in the popup.
Notes
Author: Nick Moore.
Icons:
- "ollama" by Simple Icons.
- "broom" by GameIcons.
Changelog
- 2025-12-02: Initial release
Info
- Updated
Dec 2, 2025 - Version
325 - Identifier
com.pilotmoon.popclip.extension.ollama - PopClip Version
≥2025.9.2 - Action Type
JavaScript (with internet access) - License
MIT License - Source
pilotmoon/PopClip-Extensions/.../source/Ollama.popclipext/
Works With
- Ollama: https://ollama.com/