Hacker News Viewer

Cherri – programming language that compiles to an Apple Shortuct

by mihau on 3/27/2026, 11:39:44 PM

https://github.com/electrikmilk/cherri

Comments

by: subhro

Is this vibe coded? The README at least looks very LLM-ish.

3/30/2026, 7:21:51 PM


by: Ragingweb

I built a small app to follow my infant son's feedings and diaper changes. Simply used the shortcuts get content of url to call the API rest endpoints. This is much better !

3/30/2026, 7:19:49 PM


by: alin23

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>

3/30/2026, 6:25:11 PM


by: kbd

What can you do on a Mac with Shortcuts vs AppleScript vs Hammerspoon?

3/30/2026, 7:15:08 PM


by: lemontheme

Cool! As a professional programmer few things consistently succeed in making me feel inept like trying to build an Apple Shortcut

3/30/2026, 7:00:08 PM


by: RationPhantoms

Still confused on why there is no social component of this? What is the best place to find examples of actual useful Apple Shortcuts?

3/30/2026, 7:01:44 PM


by: simquat

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>

3/30/2026, 6:22:42 PM


by: _doctor_love

Very cool! IMHO Apple Shortcuts will finally get the love they&#x27;re due in the age of AI.

3/30/2026, 6:50:22 PM


by:

3/30/2026, 5:38:20 PM


by: threecheese

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.

3/28/2026, 3:54:57 AM


by: hmartin

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.)

3/30/2026, 5:33:53 PM


by: mwkaufma

&quot;shortuct&quot;

3/30/2026, 7:14:34 PM


by: aaronbrethorst

Adjacently, does anyone know of a Terraform-like syntax for creating GitHub Actions YML files?

3/30/2026, 5:18:51 PM