* TinkerDifferent *
Retro Computing Community
Home | Forums | What's New | Search | Settings
Message Bridge - iMessage and SMS on retro hardware

Forums > The Lab > Software

scj312
Tinkerer
--------
Joined: Oct 29, 2021
Posts: 74
Likes: 87
Jan 10, 2023 - #1
Since I am a heavy user of the Messages app on my modern Macs for iMessage and SMS, I wanted a solution that allowed me to send and receive messages from friends and family while using my retro hardware. I found a few different solutions for this while perusing the web, but nothing I found worked quite the way I wanted--so I made Message Bridge!

Message Bridge is an app you run on your modern Mac (macOS 10.15 or higher) which exposes a simple web interface you can load on ancient browsers to send and receive iMessage and SMS!



Visit here for the download and usage instructions:

GitHub - dremin/message-bridge: A solution for accessing iMessage and SMS chats from older computers, implemented as a REST API with a web-based client.

A solution for accessing iMessage and SMS chats from older computers, implemented as a REST API with a web-based client. - dremin/message-bridge
[Image: github.com] github.com

Here are the current features:
  • View your current iMessage and SMS chats, including group chats
  • Contacts integration matches phone numbers to contact names
  • Automatically-updating view of messages in the selected chat
  • Send messages to the selected chat
  • See images received inline as thumbnails, or click them to download
  • File attachments can be downloaded with a click
  • Two different access options: a JavaScript-enabled version for browsers from the late 90s onward, or a basic HTML version for older browsers

Under the hood: How does it work?
  • The server is written with the Vapor framework for Swift, providing a REST API for sending and receiving messages.
  • Messages are sent via AppleScript commands to the Messages app
  • Messages are read via querying the Messages SQLite database
  • The web client is simple HTML, CSS, and JavaScript, avoiding features requiring newer browsers. It uses the server's REST API to send and receive messages.

Feedback is welcome, and feel free to ask any questions!
Attachments:
mb-new.jpg [View]
github.com [View]
github.com [View]

Liked by splorp,fehervaria,Kai Robinsonand 11 others

rollmastr
New Tinkerer
--------
Joined: Oct 31, 2021
Posts: 19
Likes: 14
Jan 10, 2023 - #2
Very nice!

scj312
Tinkerer
--------
Joined: Oct 29, 2021
Posts: 74
Likes: 87
Jan 15, 2023 - #3
Released an update today that really improves performance on slower machines (among other fixes).

Works well on Mac OS 8.6 using iCab 3.0.5 Classic :)
Attachments:
mb_os86.jpg (108.8 KB)

scj312
Tinkerer
--------
Joined: Oct 29, 2021
Posts: 74
Likes: 87
Jan 28, 2023 - #4
New: Added a JavaScript-free "lite" version that allows accessing iMessage/SMS from very old browsers and text-based browsers.

Who needs a phone when you have a Macintosh SE? :)

Attachments:
screenshot2.jpg [View]

Liked by rjkucia,Bolkonskij,rollmastrand 1 other person

rollmastr
New Tinkerer
--------
Joined: Oct 31, 2021
Posts: 19
Likes: 14
Jan 28, 2023 - #5
Nice! Now I really need to try this.

Liked by scj312

scj312
Tinkerer
--------
Joined: Oct 29, 2021
Posts: 74
Likes: 87
Jan 12, 2024 - #6
I've released a pretty substantial update to Message Bridge, timed for use during this year's PPC Challenge! Here's the improvements:
  • URLs in messages are now displayed as clickable links (except on the 'lite' client)
  • Image attachments are resized to a thumbnail on the modern Mac, which makes things much snappier for older systems.
  • HEIC images are now visible! The modern Mac converts them to a JPEG for the thumbnail.
  • I also worked around a Messages AppleScript issue causing messages to not send in some chats. For some reason, Messages is not exposing all chat conversations to AppleScript, so it can't be used to send a reply (on my system, only ~200 of ~1000 chat conversations are available in AppleScript). Working around this by sending as a "new chat" seems to work in this situation, as Messages ultimately merges the chats.
  • Greatly improved the performance of checking for new messages, both for the old system and the Mac running Message Bridge.

Liked by splorpandEtherwave

fehervaria
Tinkerer
North Germany
--------
Joined: Sep 23, 2021
Posts: 160
Likes: 171
Jan 17, 2024 - #7
This is amazing! Thank you!

Liked by scj312

scj312
Tinkerer
--------
Joined: Oct 29, 2021
Posts: 74
Likes: 87
Sep 30, 2025 - #8
It has been a while, but I am back with a new update with several quality-of-life improvements:
  • Improvements to the "lite" client:
    • Improved navigation to be on a single line
    • Image attachments are converted and down-scaled prior to download, as these systems are unlikely to handle the originals
    • Sanitize more special characters that many older systems cannot display, such as left and right quotation marks
  • Improvements to the JavaScript-enabled client:
    • Added a loading placeholder to the chat list
    • Automatically converts and down-scales images when downloading them by default
    • Disabled the send button while sending to prevent accidental double send
    • Fixed scroll sometimes not sticking to the bottom when sending a message
    • Fixed the latest chat fetch being undesirably cached forever by IE5
    • Fixed a JS error occurring before redirect when XMLHTTPRequest is unsupported by the browser

Liked by jibsaramnim

Slimes
Tinkerer
--------
Joined: Jul 26, 2023
Posts: 42
Likes: 30
Oct 6, 2025 - #9
This is great! Thank you so much!

Liked by scj312

Page 1 of 1

Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings
XenForo Retro Proxy by TinkerDifferent.com