Imsg
imsg is a macOS command-line tool for interacting with Messages.app to list chats, view message history, watch for new messages, and send iMessage/SMS. It supports JSON output for scripting and requires standard macOS permissions to access Messages data and automate sending.
SafeCommunicationsteipetev1.0.0
Use Cases
- List recent iMessage/SMS chats and export them as JSON for personal archiving or scripting
- Fetch message history (optionally including attachments) for a specific chat for troubleshooting or record-keeping
- Watch a chat for new incoming messages to trigger local automations
- Send an iMessage/SMS (text and optional file attachment) from the terminal for quick outreach or testing
imessagesmsmessages.appmacosclihomebrewautomationjsonchat