Using a little bit of AI to save a lot of time

A mini post about how I used some AI to get me over a technical hurdle and speed up my website build & deploy process

I’ve been a little reluctant to use any sort of AI. I can see how it’s useful for some situations, and I can see how incredibly damaging it can be for creatives.

I’m still dead against using it for any sort of image creation where someone would have been paid. AI ‘art’ is not art and my mind will not be changed on that.

I have however been using it for coding at work, and honestly it saves a ton of time. All the usual caveats apply, you gotta know vaguely what it’s doing, and in my case with Moodle, I’ve been directing it to the correct way to do things, rather than letting it loose etc etc.

Then I was writing a post here, and thought, if I could use macOS Shortcuts to create a button to build and deploy the site in one click, it’d save me a chunk of time each time I posted, and just be a nicer experience. So I used some AI to find out how to do it.

I asked Claude how I would go about doing such a thing, and it suggested using a shell script run with Shortcuts. So I asked it to write it.

It worked pretty well, and with some tweaking I got it to use the npm build command, and then to use rsync to check if there are changed files between my local build and my remote hosting and if so, upload them.

Now I just write a post, press the button on my desktop, get a confirmation, and the website’s live.