22 comments

  • alin236 hours ago
    I&#x27;ve just used this extensively to build 200 Shortcuts for my event-based automation app on macOS [0], because some actions you simply can&#x27;t do without Shortcuts: changing Focus Mode, toggling Accessibility functions like Color Filters, accessing the Private Cloud Compute model etc.<p>I also wrote about how Claude was able to basically learn the language from scratch and write those fully compilable Shortcuts for me [1] because it was mind boggling to me that an LLM can do that. Curiously, this is becoming more and more normal in my mind.<p>[0] <a href="https:&#x2F;&#x2F;lowtechguys.com&#x2F;crank" rel="nofollow">https:&#x2F;&#x2F;lowtechguys.com&#x2F;crank</a><p>[1] <a href="https:&#x2F;&#x2F;alinpanaitiu.com&#x2F;blog&#x2F;how-good-is-claude-really&#x2F;#cherri" rel="nofollow">https:&#x2F;&#x2F;alinpanaitiu.com&#x2F;blog&#x2F;how-good-is-claude-really&#x2F;#che...</a>
    • 6thbit4 hours ago
      Yeah having this opens up the LLM assisting path to build shortcuts. Which is great! Maintaining them by hand is not
  • lemontheme5 hours ago
    Cool! As a professional programmer few things consistently succeed in making me feel inept like trying to build an Apple Shortcut
    • zimpenfish3 hours ago
      I felt really smart after I made a fancy Shortcut that did complex playlist generation based on rules and whatnots.<p>Of course, adding music to a playlist broke a couple of updates down the line and, as far as I&#x27;m aware, still doesn&#x27;t work properly several years later.<p>(I moved to Marvis Pro[0] because it has reasonably complex smart playlists that just about mimic what I was doing with my generator except they&#x27;re transient and not saved as mine were. Win some, lose some.)<p>[0] No link, sorry, because it&#x27;d either be iOS App Store or ad-laden bloat sites &quot;reviewing&quot; it. <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;MarvisApp&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;MarvisApp&#x2F;</a> might be worth a read though.
      • mulmen2 hours ago
        This is what prevents me from putting any effort in to shortcuts. I have zero confidence in Apple respecting my time by committing to compatibility or even just not breaking things. The constant feature churn from new PM’s tearing down Chesterton’s fence to make way for their own career ambitions makes Apple user hostile.
  • wiether3 hours ago
    Oh boy!<p>Creating&#x2F;maintaining Shortcuts is such a pain!<p>Having to do it on a small iPhone screen with a touchscreen keyboard, through a no-code interface...<p>I want an actual text editor, I want to version things with git...<p>It feels like with Cherri I&#x27;ll finally be able to actually do things!<p>Thanks!
  • wwalexander2 hours ago
    I take it this only supports Apple’s built-in actions, and doesn’t plug into the broader AppIntents system? AppIntents includes a packaging concept, would be cool to see if this could use third-party AppIntents in a similar way to how scientific Python uses C modules for performance critical sections.
  • RationPhantoms5 hours ago
    Still confused on why there is no social component of this? What is the best place to find examples of actual useful Apple Shortcuts?
    • wlesieutre58 minutes ago
      A lot of examples from Federico Viticci &#x2F; MacStories (scroll down past the Automation Academy ad)<p><a href="https:&#x2F;&#x2F;www.macstories.net&#x2F;shortcuts&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.macstories.net&#x2F;shortcuts&#x2F;</a>
    • doc_ick4 hours ago
      Probably Reddit.
      • zimpenfish3 hours ago
        Specifically <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;shortcuts&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;shortcuts&#x2F;</a> since it appears to be the last one standing.
  • Pakvothe1 hour ago
    Love this approach of compiling a readable language to a platform-specific format. Same pattern works well for i18n. Write in one language, compile&#x2F;translate to the target formats automatically. The developer experience of writing real code instead of clicking through a GUI (Shortcuts app in this case) is always the right bet for power users
  • kbd5 hours ago
    What can you do on a Mac with Shortcuts vs AppleScript vs Hammerspoon?
    • alin235 hours ago
      There are some things that are only available in Shortcuts because Apple gave the app entitlements to communicate with parts of the system that an AppleScript or other apps can&#x27;t. Things like setting&#x2F;getting the Focus Mode, changing some system settings like Airdrop Receiving, Color Filters, Background Sounds etc.<p>Also some apps export Shortcut actions that can run in-app code: for example my Lunar app has an action that can help fixing arrangement when monitors flip around [1]<p>It&#x27;s much easier to implement a struct for a Shortcut, than exporting AppleScript sdef files or creating IPC command-line tools, so a lot of apps take this route for code that needs access to the memory of the running app.<p>[1] <a href="https:&#x2F;&#x2F;lunar.fyi&#x2F;shortcuts#fix-monitor-arrangement" rel="nofollow">https:&#x2F;&#x2F;lunar.fyi&#x2F;shortcuts#fix-monitor-arrangement</a>
      • _doctor_love3 hours ago
        I didn&#x27;t realize <i>you</i> were the Lunar guy! I freaking love your apps! Thank you for making good and useful software.<p>Being able to adjust my monitor brightness during the pandemic actively changed my quality of life for the better (I was in a small SF apartment).
        • alin233 hours ago
          Thank you for the kind words! Love to hear from people that were helped by my work!<p>That was also my pain point with Lunar, working on a small balcony in a small apartment where the light from the window was constantly changing and the monitor always being way too bright or way too dim.<p>I broke one of those LG monitor joystick OSD buttons before I got to building Lunar.
    • hrmtst938373 hours ago
      Apple designed Shortcuts to look like a shiny toy demo, and it gets awkward fast once you leave the happy path. AppleScript is old, weird, and still wired into a lot of Mac apps, but the moment it trips over something basic like text encoding you can lose an hour digging through forum posts from 2004.<p>With Hammerspoon, you get Lua and direct macOS APIs, so you can push much further if you don&#x27;t mind writing more glue code. If you care about serious Mac automation, you&#x27;ll probably mix them and curse each one for a different reason.
      • criddell3 hours ago
        &gt; Apple designed Shortcuts to look like a shiny toy demo<p>Apple bought Workflow from DeskConnect (they may have bough the entire company).
      • hirvi7443 minutes ago
        &gt; If you care about serious Mac automation, you&#x27;ll probably mix them and curse each one for a different reason.<p>I do. I completely left all of the automation options. I just use Swift and the private macOS APIs. Though, I will admit that there are still some things that Shortcuts can do that I have not found a to hack around in Swift. The difference is likely due to App Intents, which is big lame.
  • wateralien2 hours ago
    I&#x27;m guessing that if Apple can get it right with the next LLM based Siri, generating or editing Shortcuts may get easier anyway.
    • lynndotpy1 hour ago
      The biggest problem IMO is the loooooooong animation delay built into every UI interaction. It&#x27;s so hard to get into a flow state or even maintain a train of thought when you have to wait for everything on the screen to stop sliding, wiggling, wobbling, jiggling, refracting, distorting, and flashing.
    • greggsy2 hours ago
      It does seem like the logical automation platform to prepare repeatable tasks that the end user might want to do.<p>The permissions and secure app integration models are all there, and it’s reasonably stable.<p>It was always puzzling why there was never an exportable scripting language, just shareable links. I think I ended up sharing screen shots with Claude last time I wanted to troubleshoot something.
  • simquat6 hours ago
    Looks quite cool and I&#x27;d like to give a try. What is the main use case for compiling code to shortcuts? I ask because I&#x27;m working on a tool[0] that in a way does the opposite.<p>[0] <a href="https:&#x2F;&#x2F;breadboards.io" rel="nofollow">https:&#x2F;&#x2F;breadboards.io</a>
    • 0x4574 hours ago
      What you&#x27;re doing is visual programming. On its own there isn&#x27;t anything wrong with it. However, specifically with Shortcuts it&#x27;s not very pleasant for anything complex.<p>I had a full garden automation running on shortcuts, but it was extreme hard to maintain and improve due to &quot;editor&quot; being so bare bones.
      • simquat4 hours ago
        Thanks for sharing. By the editor being bare bones do you mean some missing feature might change your mind about using it, or do you find the text-based editor much more comfortable?
        • 0x4573 hours ago
          I was talking specifically about Apple Shortcuts. Once you have anything complex, you&#x27;re going to need code reuse and its a sad story with shortcuts as provided by Apple.
  • hmartin6 hours ago
    Could you explain more about how the signing setup works?<p>(That&#x27;s what held me back most for spending more effort on shortcuts.)
    • yg11126 hours ago
      From the repo, it signs natively on macOS and falls back to a cloud signing server (shortcut-signing-server). That fallback matters -- without macOS you would have to reverse-engineer Apple signing format yourself, and it changes across iOS versions. The hosted signing server is really what makes the whole cross-platform toolchain viable.
      • mmastrac5 hours ago
        I wonder if <a href="https:&#x2F;&#x2F;crates.io&#x2F;crates&#x2F;apple-codesign" rel="nofollow">https:&#x2F;&#x2F;crates.io&#x2F;crates&#x2F;apple-codesign</a> is sufficient to codesign these. Apple usually re-uses these sort of things.
  • Ragingweb5 hours ago
    I built a small app to follow my infant son&#x27;s feedings and diaper changes. Simply used the shortcuts get content of url to call the API rest endpoints. This is much better !
  • pseudosavant3 hours ago
    This makes me want to spend some time with Codex just to figure out something fun to do with Shortcuts!
  • threecheese2 days ago
    I’m interested to understand how this is different than Jelly; they seem to be similar. Same for Scriptable. I’ve been looking at this to hand over to Claude to build Shortcuts, something which has a terrible development experience.
    • alin235 hours ago
      You can definitely have Claude work with cherri files.<p>Jelly was a confusing experience for me, with JellyCuts becoming closed source and focusing on advertising, then Open-Jellycore branching out but not actually keeping up with the latest shortcut actions.<p>Cherri has almost every action you can find in the Shortcuts app, easy to use, and easy to create Shortcuts that can accept input and output so that they can be automated or scripted further.
    • Barbing5 hours ago
      You’ll have challenges with this too but you can get something by working with the three top labs’ models. Tried on Arena.ai and sent any errors back (in a personal effort to further iOS accessibility, but I digress).<p>Wonderful project, thank you Cherri!
  • _doctor_love5 hours ago
    Very cool! IMHO Apple Shortcuts will finally get the love they&#x27;re due in the age of AI.
  • gigatexal2 hours ago
    I wish Apple hadn’t gone with shortcuts. Instead I wish they’d given us a proper sdk for iOS and macOS as a Python module.<p>Python is so easy to pick up they could have given it a low code drag and drop front end but for us who can code why not a proper language ?
  • mwkaufma5 hours ago
    &quot;shortuct&quot;
    • tech234a4 hours ago
      Apple had the same typo at WWDC 2018: <a href="https:&#x2F;&#x2F;devdude.me&#x2F;blimg&#x2F;wwdc18Keynote&#x2F;shortcutsApp.png" rel="nofollow">https:&#x2F;&#x2F;devdude.me&#x2F;blimg&#x2F;wwdc18Keynote&#x2F;shortcutsApp.png</a>
  • caycep4 hours ago
    whither AppleScript?
  • aaronbrethorst7 hours ago
    Adjacently, does anyone know of a Terraform-like syntax for creating GitHub Actions YML files?
  • gverrilla2 hours ago
    typo in title: &quot;Shortuct&quot; instead of &quot;Shortcut&quot; - is this how we&#x27;re gonna distinguish from llm? &#x2F;s
  • subhro5 hours ago
    Is this vibe coded? The README at least looks very LLM-ish.
    • woadwarrior013 hours ago
      It&#x27;s been around for a long time. It&#x27;s from well before vibe-coding was a thing. I first saw it ~3 years ago.
      • subhro2 hours ago
        oh okay. I had no idea and was lazy to check the commit logs.
  • duskwuff5 hours ago
    While it&#x27;s not in quite the same product category, a name change might be in order; this is uncomfortably close to CHERI (cf. <a href="https:&#x2F;&#x2F;cheri-alliance.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cheri-alliance.org&#x2F;</a>).
    • 0x4574 hours ago
      Should we rename fruit as well just in case?