Also https://github.com/steipete/imsg/

Oh no. Raw AppleScript in a Swift program. Don’t people know stuff anymore? I’m especially disappointed since it’s coming from Steipete…

Anyways, that’s how you do AppleScript in Swift (it’s even type-safe!) [1]

Usage example. [2]

[1] https://github.com/Frizlab/apple-music-to-slack/blob/90964bb...

[2] https://github.com/Frizlab/apple-music-to-slack/blob/90964bb...

I have no interest in the original application[1] that this underpins but I am very interested in an imessage API ...

Unfortunately this runs only on a MacOS system which is hard to provision as long-running datacenter infra ...

[1] https://news.ycombinator.com/item?id=46571661