A small service that generates iMessage registration data on a Mac. If you do not have access to Beeper Cloud, you can use this to generate an iMessage registration code and use it in Beeper Mini.
The tool is currently quite hacky, so it only works on specific versions of macOS.
- Intel: 10.14.6, 10.15.1 - 10.15.7, 11.5 - 11.7, 12.7.1, 13.3.1, 13.5 - 13.6.4, 14.0 - 14.3
- Apple Silicon: 12.7.1, 13.3.1, 13.5 - 13.6.4, 14.0 - 14.3
On unsupported versions, it will tell you that it's unsupported and exit. A future version may work in less hacky ways to support more OS versions.
- On your Mac, download the latest
mac-registration-provider
file from the latest release
Alternatively, you can download the latest build from GitHub actions (direct link). - Open Terminal app (⌘ + space -> Terminal), type
cd Downloads
, hit enter - Type
chmod +x mac-registration-provider
, hit enter - Type
./mac-registration-provider
, hit enter - If you get a popup saying "the developer cannot be verified", go to Settings -> Privacy & Security and scroll down. There should be an entry for mac-registration-provider and a button to "Allow Anyway".
If anyone wants to package this into an app that lives in your dock and runs at startup, we'd appreciate it!
The service has three different modes of operation, and various flags associated with each mode. Only one mode can be used at a time. The only mode that works with Beeper is Relay, which is the default.
- Relay (default) - connect to a websocket and return registration data when the server requests it.
-relay-server
Use a different relay server (defaults tohttps://registration-relay.beeper.com
).
- Submit - periodically generate registration data and push it to a server.
- The list of addresses to submit to must be provided as arguments after the flags.
-submit-interval
- The interval to submit data at (required).-submit-token
- A bearer token to include when submitting data (defaults to no auth).
-once
- generate a single registration data, print it to stdout and exit