feat: add iMessage platform adapter via imsg CLI#4907
Closed
zoskebutler wants to merge 1 commit into
Closed
Conversation
Add iMessage as a messaging platform using the `imsg` CLI (https://github.com/steipete/imsg) for sending and receiving messages through the local Messages.app database and AppleScript. Features: - Real-time message streaming via `imsg watch --json` - Text and attachment sending via `imsg send` - Native typing indicators via `imsg typing` - Chat discovery via `imsg chats` - Automatic reconnection with exponential backoff - User allowlisting via IMESSAGE_ALLOWED_USERS Setup: install imsg (`brew install steipete/tap/imsg`), grant Full Disk Access, set IMESSAGE_ENABLED=true in ~/.hermes/.env. Requires macOS 14+ with Messages.app signed into iCloud.
7c0c153 to
8250009
Compare
4 tasks
Contributor
|
Closing in favor of #6437 which landed BlueBubbles as the first iMessage backend. The imsg CLI approach is a valid alternative for macOS-only setups — if there's interest in a second iMessage backend, we'd consider it as a follow-up. Thank you @zoskebutler! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
imsgCLI for sending and receiving messages through the local Messages.appimsg watch --json, text/attachment sending, typing indicators, chat discoverySetup
brew install steipete/tap/imsg~/.hermes/.env:hermes gateway restartRequires macOS 14+ with Messages.app signed into iCloud. No API keys or third-party accounts needed.
Environment Variables
IMESSAGE_ENABLEDtrueto enableIMESSAGE_ALLOW_ALL_USERStruefor open accessIMESSAGE_ALLOWED_USERSIMESSAGE_HOME_CHANNELIMESSAGE_IMSG_PATHimsg)Test plan
imsg watchprocess stays alive and streams incoming messages🤖 Generated with Claude Code