Using iMessage with Zhu Li
Zhu Li supports iMessage via BlueBubbles, so you can message your Mac's Apple ID and have Zhu Li respond with Notion-aware context.
Open the Git Integration guide for the commit workflow.
Requirements
- A Mac signed into Messages.app
- BlueBubbles Server installed
- A public Zhu Li URL (or tunnel)
Step 1: Install BlueBubbles
- Download from bluebubbles.app/downloads
- Move to Applications and open it
- If Gatekeeper blocks it, allow it in macOS Privacy & Security
Step 2: Confirm iMessage works
- Open Messages.app and ensure you can send/receive from the Mac
Step 3: Configure BlueBubbles
- Set a server password
- Choose Cloudflare Tunnel in the setup wizard
- Copy the generated public URL
Step 4: Enable Private API
- BlueBubbles → Settings → Private API Features
- Run the install script shown in the app
- Restart Messages.app
Step 5: Add Zhu Li webhook
- BlueBubbles → Settings → Webhooks
- Add endpoint:
https://your-zhuli-url/api/v1/channels/bluebubbles/webhook
- Enable the
new-messageevent
Step 6: Configure Zhu Li dashboard
- Go to
/dashboard/channels - Enter BlueBubbles URL + password
- Save iMessage settings
Step 7: Test
Send any message to the Apple ID on your Mac. You can also use slash commands:
/issue <description>/feature <description>
Troubleshooting
Messages don't arrive
- Re-check webhook URL
- If using ngrok, URL may have changed
- Inspect Zhu Li logs for bluebubbles webhook hits
Zhu Li receives but cannot reply
- Private API is not enabled
- BlueBubbles URL in dashboard doesn't match actual server URL
First reply is slow
- Notion and model cold starts can add several seconds to the first response