Duncan McClean
banner
duncanmcclean.com
Duncan McClean
@duncanmcclean.com
Christ follower. Weegie. Full of useless facts. Software Developer @statamic.com.
Had a great time on Friday at the first Netherlands Statamic meetup! Hopefully the first of many. 🇳🇱

Thanks to the JustBetter team for hosting!
October 14, 2025 at 11:04 AM
I thought the Runway docs could do with a lick of paint so I've just migrated them over to mintlify.com!

runway.duncanmcclean.com
October 3, 2025 at 4:51 PM
Just added a version selector to the Statamic Docs Raycast extension, allowing you to switch between the v5 and v6 docs.

www.raycast.com/andrebreia/...
September 18, 2025 at 4:57 PM
Building checkout flows from scratch can be daunting & time-consuming, especially for smaller sites. 💳

Cargo ships with a pre-built checkout page, featuring a minimal design and flexible Antlers templates, making it easy to customize.
August 22, 2025 at 11:57 AM
Cargo is taking full advantage of the UI components built into @statamic 6, making everything feel polished and consistent. 💅
August 22, 2025 at 11:57 AM
It's been a long time coming, but Cargo is finally in alpha! 📦🎉

Cargo is my e-commerce addon for Statamic. I've been working on it for just over a year now. It's been a lot of work but I'm *really* happy with how it's turned out.
August 22, 2025 at 11:57 AM
Not long now until this repo is public 👀
August 18, 2025 at 9:28 AM
There aren't enough values.
August 14, 2025 at 12:02 PM
About to take off from Denver after my first Laracon US 🇺🇸

It was a blast - I love the fact I’m able to meet up with my internet friends a few times a year.

Can’t wait to do it all again next year!
August 2, 2025 at 1:54 AM
If you’re at Laracon, come and hang out at our Statamarcade tomorrow. 👾🕹️

#LaraconUS
July 30, 2025 at 6:57 AM
If you’re looking for a breakfast venue not too far away from the Laracon venue, Hello Darling is pretty good!
July 28, 2025 at 5:28 PM
Womp womp. GitHub are getting rid of their command palette 😞

github.blog/changelog/2...
July 18, 2025 at 3:15 PM
Forget about it generating code for you. These are the types of questions ChatGPT was really built for.
July 15, 2025 at 10:01 AM
Just finished working on the Cargo documentation site. I'm really *really* happy with it.

Will share the link when it's in public alpha, but here's a sneak peak! 👀
July 7, 2025 at 12:00 PM
I thought about that but it doesn't seem to let me change region 🤔
July 1, 2025 at 9:39 PM
AWS keeps sending budget alerts for a budget called "My Monthly Cost Budget" but the only budget in my account is called "Monthly Cost".

Where's this other budget coming from? 🤨
July 1, 2025 at 9:00 PM
Nothing says “a Scot visiting England” more than 12 bottles of Highland Spring
June 22, 2025 at 7:20 PM
Just finished refactoring the Product Variants fieldtype at the heart of Cargo / Simple Commerce.

I wrote the original version of this back in 2020 - it hasn't changed *too* much since then 😅
June 11, 2025 at 10:57 AM
Phew! Glad I caught this before my allowance ran out 😅

I used to run anonymous telemetry on one of my side projects, but I removed it a while back.

There's still people calling it though, so I've had to block the requests in Cloudflare.
June 6, 2025 at 2:56 PM
How did I not know about array_column() until about 10 minutes ago?

It's an easy way of "plucking" keys from an array, saving you from mapping each item.

www.php.net/manual/en/f...
June 3, 2025 at 7:03 PM
Alright, here you go!

The "osslink" function and the Prompts code is available in my dotfiles:
* github.com/duncanmcclea...
* github.com/duncanmcclea...
May 15, 2025 at 11:13 AM
Really excited to be seeing %%ARTIST_NAME% live tonight.
April 25, 2025 at 7:07 AM
One of the things I've done for my sanity as an open-source maintainer has been hiding the notification button on GitHub.

I used to open my notifications whoever the little blue dot showed up. Now, I only open up my notifications a handful of times a day.
April 23, 2025 at 10:53 AM
I think I need to hire someone to build the Cargo docs site. Wasted an evening re-redesigning it.

Would much rather spend time writing actual code 🫠
April 8, 2025 at 9:50 PM
And… I even missed one 😂
April 7, 2025 at 12:43 PM