logoalt Hacker News

Cherri – programming language that compiles to an Apple Shortuct

133 pointsby mihaulast Friday at 11:39 PM23 commentsview on HN

Comments

alin23today at 6:25 PM

I've just used this extensively to build 200 Shortcuts for my event-based automation app on macOS [0], because some actions you simply can't do without Shortcuts: changing Focus Mode, toggling Accessibility functions like Color Filters, accessing the Private Cloud Compute model etc.

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.

[0] https://lowtechguys.com/crank

[1] https://alinpanaitiu.com/blog/how-good-is-claude-really/#che...

lemonthemetoday at 7:00 PM

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

RationPhantomstoday at 7:01 PM

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

show 1 reply
Ragingwebtoday at 7:19 PM

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 !

subhrotoday at 7:21 PM

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

kbdtoday at 7:15 PM

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

show 1 reply
simquattoday at 6:22 PM

Looks quite cool and I'd like to give a try. What is the main use case for compiling code to shortcuts? I ask because I'm working on a tool[0] that in a way does the opposite.

[0] https://breadboards.io

_doctor_lovetoday at 6:50 PM

Very cool! IMHO Apple Shortcuts will finally get the love they're due in the age of AI.

cayceptoday at 7:44 PM

whither AppleScript?

threecheeselast Saturday at 3:54 AM

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.

hmartintoday at 5:33 PM

Could you explain more about how the signing setup works?

(That's what held me back most for spending more effort on shortcuts.)

show 1 reply
mwkaufmatoday at 7:14 PM

"shortuct"

show 1 reply
aaronbrethorsttoday at 5:18 PM

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

duskwufftoday at 7:23 PM

While it's not in quite the same product category, a name change might be in order; this is uncomfortably close to CHERI (cf. https://cheri-alliance.org/).

show 1 reply