Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1020 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 1020 Bytes

macOS Automation Experiments

Early AppleScript experiments connecting local AI tools with macOS apps, including an Ollama-powered Messages workflow

Local AI tools

The launcher scripts open Open WebUI or Stable Diffusion through Terminal and Brave. Companion scripts stop processes on ports 8080 and 7860; the Open WebUI shutdown script also closes a Terminal tab

Messages experiment

AIMessages.scpt queries the local Messages database and looks for an [ollama] prefix. It passes the prompt to Phi-3 through Ollama, stops Ollama, and sends the response to a configured iMessage recipient

monitorfilechange.sh checks the database modification time every minute. Its current condition invokes the AppleScript when the database has been idle for more than 55 seconds, rather than when a new message arrives

These scripts retain paths, app settings, ports, and a recipient from my original Mac setup. The Messages workflow is an experiment, with no processed-message tracking to prevent repeated replies