Cherri – programming language that compiles to an Apple Shortuct

158 points - last Friday at 11:39 PM

Source

Comments

wiether today at 8:36 PM
Oh boy!

Creating/maintaining Shortcuts is such a pain!

Having to do it on a small iPhone screen with a touchscreen keyboard, through a no-code interface...

I want an actual text editor, I want to version things with git...

It feels like with Cherri I'll finally be able to actually do things!

Thanks!

alin23 today 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...

pseudosavant today at 8:37 PM
This makes me want to spend some time with Codex just to figure out something fun to do with Shortcuts!
lemontheme today 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
RationPhantoms today 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?
kbd today at 7:15 PM
What can you do on a Mac with Shortcuts vs AppleScript vs Hammerspoon?
Ragingweb today 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 !
simquat today 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

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

deleted today at 5:38 PM
duskwuff today 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/).
_doctor_love today at 6:50 PM
Very cool! IMHO Apple Shortcuts will finally get the love they're due in the age of AI.
threecheese last 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.
subhro today at 7:21 PM
Is this vibe coded? The README at least looks very LLM-ish.
caycep today at 7:44 PM
whither AppleScript?
mwkaufma today at 7:14 PM
"shortuct"
aaronbrethorst today at 5:18 PM
Adjacently, does anyone know of a Terraform-like syntax for creating GitHub Actions YML files?