Open milesmcclane opened 3 years ago
Hi, thanks for the kind words :)
I have a vague memory of siri shortcuts, from a WWDC back in the day, and I haven't owned an apple device in almost a decade. However, it seems the docs has many examples about having shortcuts call web apis and even execute javascript functions: https://support.apple.com/guide/shortcuts/use-the-run-javascript-on-webpage-action-apdb71a01d93/ios
The thing is, jpeg.rocks is currently a webpage served as a completely static bundle: no api whatsoever, everything happens on the client side. So in order to interact with the page you need a browser capable of understanding WebAssembly (which Safari seems to be) and hook into jpeg.rocks native optimizing functions. I guess it may work but you would have to walk through jpeg.rocks internals...
Otherwise, we could think about integrating some kind of api server into jpeg.rocks so that people could use it or self-host it easily
Hello!
I have been really loving your app. It’s so useful.
I have been trying to use it via Siri Shortcuts in iOS (ie, as a share sheet extension).
This would be so useful, but I really struggle to understand the concepts behind creating such a thing.
Do you have any ideas on how to go about this?
Thanks!