I have an iOS Shortcut that SSHs into my Mac and runs scripts. It’s pretty simple; I only use it to remotely launch/quit Slack, but I could probably do a lot more if I had a reason to.
It’s cool to see somebody else mention Hazel. I love that app—it’s one of the most useful apps I have—but nobody else seems to use it.
The first programming work I ever did was with CGI, about 25 years ago, writing bash scripts to control playing MP3s using webmin's HTTP server (I think Apache was too complex for me to figure out how to setup at the time).
I'd be lying if I said I was't a bit sad that we've gone so far that CGI isn't even in the thought process for this problem.
or just add a https proxy before it before it..., even better, use a https tunnel service like ngrok to allow automating stuff from anywhere not only from your local LAN.
It’s cool to see somebody else mention Hazel. I love that app—it’s one of the most useful apps I have—but nobody else seems to use it.