Image Sending API
My original thoughts on sending images was to use a PHP and mysql server to store messages and files on the local server. Is it possible to do this with the code you currently have?
There's no PHP here, nor any SQL outside of the database for Messages.app which already stores already the messages. There really isn't any support in the server for this yet. The idea, which would fit best in the overall API design. What I'd probably do is take the file in, save it into the app resource folder or more easily on the desktop. We don't need to store the images any longer than it takes to send them so we can probably just overwrite them.
There are three necessary components:
- The AppleScript (which in itself has two bits: the fast sending API and the UI automation API. This will be the most complex IMO since AppleScript is not my strong suite, though you said you were pretty good at it so YMMV
- The Swift server: using GCDWebServer. Shouldn't be very hard, there is a file upload API
- The Android app: again, shouldn't be too hard, it's a well documented and pretty easy