@photon-ai/imessage-kit A type-safe, elegant iMessage SDK for macOS with cross-runtime support
A full-featured iMessage SDK for reading, sending, and automating iMessage conversations on macOS. Perfect for building AI agents, automation tools, and chat-first applications.
Note ✨ Looking for advanced features like threaded replies, tapbacks, message editing, unsending, live typing indicators? Check out Advanced iMessage Kit and contact us at [email protected].
Features
Quick Start
Installation
# For Bun (zero dependencies) bun add @photon-ai/imessage-kit # For Node.js (requires better-sqlite3) npm install @photon-ai/imessage-kit better-sqlite3
Basic Usage
import { IMessageSDK } from '@photon-ai/imessage-kit' const sdk = new IMessageSDK ( ) // Send a message await sdk . send ( '+1234567890' , 'Hello from iMessage Kit!' ) // Clean up await sdk . close ( )
Configuration
... continue reading