replete-ios icon indicating copy to clipboard operation
replete-ios copied to clipboard

Support for Siri shortcuts

Open Alexx-G opened this issue 5 years ago • 4 comments

Since iOS 12, shortcuts have been added to iOS as a kind of automation tool. It's quite powerful because it offers even third-party integrations, control flow, some basic scripting.

It would be really nice to be able to invoke a cljs script withing a shortcut. I've seen that there's a similar feature supported for a Python app, I think replete would fit perfectly in this use case.

screenshot

Alexx-G avatar Feb 24 '19 13:02 Alexx-G

I believe that this shortcut you're referring to is officially called "URL scheme". And it is already defined here: https://github.com/replete-repl/replete-ios/blob/579bc5c8302b9366bace844073b9cc89855e179a/Replete/Info.plist#L47

You can see that it works if you type in replete:// in Safari browser, it'll open Replete.

The code for handling the actions, arguments and so on, is what is required...

dotemacs avatar Feb 24 '19 15:02 dotemacs

Not really, I’ve been referring to another type of integration https://developer.apple.com/design/human-interface-guidelines/sirikit/overview/siri-shortcuts/

On Feb 24, 2019, at 5:41 PM, Александар Симић [email protected] wrote:

I believe that this shortcut you're referring to is officially called "URL scheme". And it is already defined here: https://github.com/replete-repl/replete-ios/blob/579bc5c8302b9366bace844073b9cc89855e179a/Replete/Info.plist#L47

You can see that it works if you type in replete:// in Safari browser, it'll open Replete.

The code for handling the actions, arguments and so on, is what is required...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Alexx-G avatar Feb 24 '19 15:02 Alexx-G

My bad, sorry about that

dotemacs avatar Feb 24 '19 16:02 dotemacs

This would be even more incredible now that Shortcuts is available on MacOS as well.

zane avatar Nov 14 '21 07:11 zane