I've been messing around with Apple Shortcuts lately, and I guess you can call them from the command line, which is neat.

https://support.apple.com/guide/shortcuts-mac/run-shortcuts-from-the-command-line-apd455c82f02/mac

#apple #macOS

Run shortcuts from the command line

You can run a shortcut from the command line on your Mac.

Apple Support

The other half of this is that I've been messing with a-Shell which runs on iOS and can run command line stuff, (including Python scripts) and you can use Apple Shortcuts to run CLI stuff via a-Shell on iOS so yeah, that's pretty neat!

I feel like some of the scripting stuff I always wanted to do on iOS is possible.

https://apps.apple.com/us/app/a-shell/id1473805438

https://github.com/holzschu/a-shell

#apple #iOS

a-Shell App - App Store

Download a-Shell by Nicolas Holzschuch on the App Store. See screenshots, ratings and reviews, user tips, and more apps like a-Shell.

App Store

So even though we tend to view iOS as this locked-down platform (And it is!) there are some cracks in the wall that allow you to do things.

It *should* be easier but I guess too many clueless people started using computers and too many malicious people started targeting those people and then we put computers into everyone's pocket and well. Blah.

#iOS #apple

@rasterweb that's due to #Apple being assholes when it comes to #iOS and #UserFreedom!
@kkarhan 💯 I agree. And yeah, I still use it, and yeah, I will still complain. 😩
@rasterweb because #Termux already wiped the floor aith it 15 years ago…
@kkarhan Termux can run a shell and commands locally? I thought it only did remote connections...

@kkarhan Termux is owned by "FREE AI UTILS COMPANY LIMITED"?? Uhh...

https://apps.apple.com/us/app/termux/id6738933789

Termux App - App Store

Download Termux by FREE AI UTILS COMPANY LIMITED on the App Store. See screenshots, ratings and reviews, user tips, and more apps like Termux.

App Store

@rasterweb I mean the real #Termux on @fdroidorg not some scammy clone.
https://f-droid.org/en/packages/com.termux/

  • Cuz AFAICT Termux is Android only #FLOSS!
Termux | F-Droid - Free and Open Source Android App Repository

Terminal emulator with packages

@kkarhan @fdroidorg Okay, so you're talking about Android, not iOS here, correct?
@rasterweb @fdroidorg yes, cuz I compare #iOS to #Android and never used the firmer for.being too restrictive and not letting me actually "own" a device!

@kkarhan @fdroidorg The last time (about 8 years ago) I got excited about running command line stuff on Android I could not get it to do what I wanted... which was control the camera to capture and store images.

I have that working on iOS now with a dead simple Shortcut. 🤷🏻‍♀️

@rasterweb @fdroidorg well, #Termux Widgets may just do that for you…