Overview
How it works
A small Bun service that carries iMessages to the Grok Bot you already use, and brings its answer back to the same thread.
What this is
grok-imessage is glue, not a brain. Your Bot keeps its memory, skills and cloud computer; this gives it an iMessage front door. Spectrum handles the iMessage line.
The loop
iPhone --> Spectrum --> bridge --webhook--> Grok Bot
|
iPhone <-- Spectrum <-- bridge <--send_reply---+Grok Bot has no chat API, so the bridge wakes a routine over its webhook and hands it a one-shot reply token. When the Bot is done it calls send_reply over MCP, and the bridge sends the answer into the chat the token was bound to. Tokens work once and expire after 45 minutes.
Run modes
The bridge does as much as you configure:
| Mode | Needs | Does |
|---|---|---|
| HTTP only | nothing | Serves /health, /reply, /mcp |
| Echo | Spectrum credentials | Texts come back as echo: … |
| Wake | + webhook and public URL | Wakes the Bot and delivers its reply |