nguyener

BlueBubbles + Beeper Cloud mautrix guide

Jan 18th, 2024 (edited)
2,875
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. This guide is no longer maintained, for an updated and maintained guide, see:
  2. https://rentry.org/sv9t86x5
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. ---------------------------
  12. In-depth noob guide that builds off of: https://github.com/mautrix/imessage/tree/bluebubbles/imessage/bluebubbles
  13.  
  14. Pre-req:
  15. Download BBCTL to a location somewhere: https://nightly.link/beeper/bridge-manager/workflows/go.yaml/main
  16.  
  17. In SSH/Terminal (a sudo command may ask for a password, use your mac's login password):
  18. Install Homebrew: 
  19. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  20.  
  21. After homebrew is installed:
  22. brew install go libolm libheif pkg-config pre-commit
  23.  
  24. Add bbctl download location to $PATH:
  25. Method 1:
  26. sudo cp /[path-to-bbctl-folder]/bbctl/ /usr/local/bin/
  27. RESTART YOUR TERMINAL SESSION
  28.  
  29. Method 2:
  30. sudo nano /etc/paths
  31. Add a new line with the location of where you downloaded bbctl (i.e., /Users/username/Downloads/bbctldownloadfolder/), save and exit.
  32. RESTART YOUR TERMINAL SESSION
  33.  
  34. After you have added to Path and restarted terminal session, go to the path where you downloaded bbctl:
  35. chmod +x bbctl-macos-amd64 (update filename based on the binary that works with your hardware)
  36. bbctl-macos-amd64 login
  37. Login to your Beeper account
  38.  
  39. cd
  40. git clone https://github.com/mautrix/imessage.git
  41. cd imessage
  42. pre-commit install
  43. git checkout bluebubbles
  44.  
  45. Replace URL for bluebubbles_url (recommend using localhost instead of your cloudflare URL) and your BB password (note: some special characters (i.e., @, -, etc) may cause issues with the command running, either try adding " around the password or change it) for bluebubbles_password:
  46. bbctl-macos-amd64 run --local-dev --param 'bluebubbles_url=http://localhost:1234' --param 'bluebubbles_password=BluEBuBblESPa$$word' --param 'imessage_platform=bluebubbles' sh-imessage
  47.  
  48. If you start seeing "DBG Received ping from BlueBubbles websocket component=bluebubbles" then you should be all set. New messages that you send or receive after that *should* show up in Beeper automatically. You will have to start NEW messages that are currently not in your Beeper chats in Bluebubbles (you cannot start new iMessage chats in Beeper if they don't already exist from the BlueBubbles bridge).
  49.  
  50. In the future, if you want to update the bridge:
  51. ctrl+c to stop the bridge
  52. git fetch
  53. git pull
  54. bbctl-macos-amd64 run --local-dev --param 'bluebubbles_url=http://localhost:1234' --param 'bluebubbles_password=BluEBuBblESPa$$word' --param 'imessage_platform=bluebubbles' sh-imessage
  55.  
  56. Want to start fresh and delete everything?
  57. bbctl delete sh-imessage
  58. Open Finder, at the top, click "Go", click "Home" and then delete the imessage folder (this is the bridge folder)
  59. Then start from cd, git clone https://github.com/mautrix/imessage.git, etc
  60.  
  61. Follow this guide by @david to start this bridge on boot: https://pastebin.com/U4xesCWn
  62.  
  63. Questions?
  64. In the Beeper Desktop App, click the Settings Gear (Cog) at the top, Join Matrix Room, near the top-ish right, click the drop-down and "Add new server"
  65. Add a server: maunium.net
  66. Find the iMessage Room: #imessage:maunium.net
Advertisement
Add Comment
Please, Sign In to add comment