Articles

Read the latest articles, insights, and updates from Danny.

Field note5 min

More Sustainable AI Agents on Hermes with GreenPT

I recently set up GreenPT as a custom provider on Hermes, my AI agent framework. This article covers my experience with the setup process, the reasons behind choosing GreenPT, and my initial impressions of using their services.

ai-agentshermesgreenptsustainability
Read note
Blog5 min

Setting up responsive images with Cloudflare and next/image

How I connected Payload CMS, R2, and Cloudflare Image Transformations with next/image — the custom loader, the /cdn-cgi/image/ path, and the gotchas that took me from broken images to responsive srcsets.

nextjsnext-imagecloudflare-imagesresponsive-imagespayload-cmscloudflare-r2image-optimizationperformance
Read note
Field note5 min

Manually deploying Next.js with Payload CMS to Cloudflare

I had a working Payload site on Cloudflare, but I could not have reproduced it from scratch. So I created a fresh project and set up every resource by hand — D1, R2, Workers, OpenNext. Here is what went wrong, what I fixed, and the quick guide that came out of it.

nextjspayload-cmscloudflare-workerscloudflare-d1cloudflare-r2opennextdeployment
Read note
Field note5 min

AI helped me build a solution to the wrong problem

I asked AI to fix 500 errors after adding a Payload collection. Because I had not diagnosed the root cause myself, the AI had no reason to start with the simplest explanation — and helped me build a very sophisticated fix for the wrong problem.

ai-assisted-debuggingpayload-cmscloudflare-d1debugginglessons-learned
Read note
Field note5 min

When my local D1 database disappeared

A local Payload database looked empty after changing Miniflare persistence, and exporting production content exposed two more D1 import traps.

cloudflare-d1payload-cmswranglernextjsdebugging
Read note
Field note5 min

When a working Payload deployment became a build-system problem

What broke when I added a glossary and sitemap to a Payload site on Cloudflare, and what I learned about migrations, local D1 state, and OpenNext builds.

payload-cmscloudflarecloudflare-d1opennextnextjsdebugging
Read note
Field note5 min

Why I started focusing on building sustainable websites

I did not start building websites to think about sustainability. I started because I liked making things for the web. Here is why sustainable websites became part of my everyday work.

sustainable-softwaresustainabilityweb-developmentperformance
Read note
Blog5 min

What I wish every design file included

A clean design file saves time, reduces rework, and leads to a lighter website. Here is what I look for — and what I wish more designers included before the hand-off.

designdesign-systemstokensfigmapenpotcollaboration
Read note
Blog5 min

Sustainable Software Is an Engineering Quality

Green hosting is not enough. Sustainable software means making better decisions about architecture, dependencies, content, and maintainability — long before you pick a server.

sustainable-softwareperformancemaintainabilityarchitecture
Read note
Field note5 min

So I got curious about Payload CMS with Next.js

After a decade of WordPress sites, I started wondering what Next.js and Payload CMS could do. Here is what I found — the good, the hard, and why I still use both.

nextjspayload-cmswordpressarchitectureweb-development
Read note
Field note5 min

Exploring Cloudflare as a Vercel alternative for Next.js

I wanted to know if my Next.js site could run on verifiable green energy. Here is what I found testing Cloudflare — and what the Green Web Foundation and Carbonfooter say about it.

cloudflarevercelhostingnextjspayload-cmsgreen-hosting
Read note