Show HN: I made a command-line iMessage interface
github.com
github.com
Why not?
Regardless of the actual repository (though don't get me wrong, this is still super cool and I like seeing AppleScript in action since I feel like it's criminally underused), this kind of thing in a Readme always brings a grin to my face. Tinkering for tinkering's sake is the best.
What are you going to use it for?
Just thought I'd mention it here in case others are thinking of trying this out on Mountain Lion.
Edit: CamHenlin has already committed a fix for this problem. Nice work!
[1]: https://weechat.org/ [2]: https://github.com/glowing-bear/glowing-bear [3]: https://github.com/ubergeek42/weechat-android
unfortunately integration with other services is pretty difficult because everything requires routing messages through the OS X messages client
An actual commandline interface would also be cool, to be able to easily send iMessages from shell scripts, for example.
osascript sendmessage_single.AppleScript PHONE_NUMBER_OR_ICLOUD_EMAIL "my message text" false false
If it's written in Obj-C, you can extract fully usable headers from it. If C++/C/etc., it will be difficult (but not impossible) to understand it.
After extracting the headers from that, you may well be able to use it instead of AppleScript.
This looks solid
Any of those sound good? :)
Could someone host iMessage as a service without being sued into oblivion?
It would be really handy as something I could run on my own mac.
No, it will be very important not to do it, because you are knowingly busting security open on Apple IDs with your service and think that educating users is the best way to mitigate that. We all know most of your users won't know any better. The better way to mitigate it is to not accept Apple IDs in the first place.
If you launch that service, I would feel obligated to tip off the iCloud folks that you're knowingly compromising Apple IDs. That isn't because I want to see you fail, but because you are compromising Apple IDs and your users are caught in the middle.
This is an idea you should let go. I know that sucks to hear.
I should label it "iMessage server".