from Hacker News

Creating iOS 12 Shortcuts with JavaScript and Shortcuts JS

by joshfarrant on 11/16/18, 2:03 PM with 6 comments

  • by joshfarrant on 11/16/18, 2:13 PM

    Hey HN!

    I’m very excited to release something I’ve been working on for the last month-or-so, Shortcuts JS.

    Since Shortcuts was released with iOS 12 earlier this year I’ve been really interested in the idea of building Shortcuts with code, rather than with the Shortcuts app. After a bit of hacking around I figured out a way to do it, and so started building Shortcuts JS.

    Hopefully this is something that others find as useful as I do!

    Happy to answer any questions!

  • by walterbell on 11/16/18, 2:12 PM

    Is there a way to search for shortcuts that are publicly shared via iCloud? There have been a few articles with lists of public shortcuts, but there's no equivalent of a directory or search engine for discovery of shortcuts or workflow automation ideas. A similar issue exists with iOS application-specific URLs for deep-linking on device.

    We also need a guide for application developers who are exposing interfaces via URLs or Shortcuts, if only to recommend interface patterns that have proven valuable in many workflows.

  • by iwebdevfromhome on 11/16/18, 4:06 PM

    How is this different from the Scriptable app ? That uses JS to interact with siri.