3 ms·
I'm thinking of doing this to better enable work from an iPad. Mostly in terms of things like having push button access to command line tools via api, everythi
by paultopia 9y ago
I'm thinking of doing this to better enable work from an iPad. Mostly in terms of things like having push button access to command line tools via api, everything from compilers to pandoc. But the real sticking point is that there's no universal easy way to actually get a file attached to a http request with iOS sandboxing---the best I can come up with is emailing everything in and building the api around reading subject lines. Which seems a little... hassle-full?
- anon151516888 9y agoBase64 is your friend, friend. Unless they start introspecting text to see if it has escaped binary and then stopping it. Reminds me of the time someone built a P2P file again network using gmail's attachments. Though I can't find a link to an article about it right now.
- detaro 9y agoOn Android there's a bunch of apps which will register as a share target and let you configure a bunch of HTTP endpoints of your choosing to send it to, I would be surprised if there isn't an iOS equivalent?
- paultopia 9y agoHmmmm.... I wonder if there's a way to do this with pythonista. It does have a share sheet module. Combine that with the base64 point below...