---
title: "The Next Great Web Cleanup: Designing for AI Readability"
permalink: /futureproof/web-cleanup-ai-readability-htmx/
meta_description: A developer's strategy for the next web revolution, focusing on AI readability, semantic HTML, and a FOSS-based stack over JavaScript frameworks.
meta_keywords: AI readability, web accessibility, future-proof development, HTMX, Python, NixOS, command-line refactoring, rg, xargs, sed, vendor lock-in, developer philosophy, semantic HTML, JavaScript frameworks
description: "I need to get my head straight and focus my next coding sprint. The big picture is clear: the web is about to be remade for AI readability, and the bloated JavaScript frameworks are the modern equivalent of Flash—doomed to obsolescence. My goal is to refine Pipulate into a lean, FOSS-based example of this new paradigm. To get there, I need to stop overthinking and start doing, which means applying my 'magic rolling pin' to my own codebase, trimming the fat, and proving out my workflow with small, fast, iterative changes. This weekend starts now, with a simple file rename."
layout: post
sort_order: 2
---
## Setting the Stage: Context for the Curious Book Reader
This technical journal entry is a stream-of-consciousness exploration of a developer's strategy for navigating the rapidly changing tech landscape, particularly in the age of AI. The author, working on a project called Pipulate, grapples with both high-level philosophical principles and immediate, practical coding tasks. The central theme is a rejection of the ephemeral, complex JavaScript frameworks that have dominated web development in favor of a "future-proof" stack rooted in durable, open-source technologies like Python, HTMX, and NixOS. This approach is driven by the belief that the next major shift in web design will be driven by the need for websites to be easily "readable" by AIs, much like the last shift was driven by the need for readability on mobile phones.
The entry captures the developer mid-process, connecting broad ideas—like vendor lock-in and the importance of web accessibility for AI—to a concrete refactoring task. The "magic rolling pin" is the author's personal metaphor for the iterative process of simplifying and organizing a project. This specific log documents the application of that principle to the Pipulate codebase, using newly mastered command-line tools to perform a small but significant refactoring, demonstrating a rapid cycle from high-level strategy to hands-on execution.
---
## The Coming Wave: From Mobile-First to AI-First
Alright, now it's time to pick up the pace. I am killing a lot of birds with one
stone including speeding up my process by not shying away from old school
metaphors that still work and are the best way to express an idea. The cudgel
stick of nattering nitwits is language policing. I like the trend of taking back
our language and the freedom of our minds. It was refreshing to hear NASA
officials refer to mankind instead of humankind in their announcement the other
day that they have confirmed the signature of life on Mars. I have to get over
this myself as I went along with the social conditioning of the past decade or
so to make craftsmanship something you could not master, but rather craftsperson
ship something you had to become spontaneously expert at. Blecch! What would Mad
Magazine say?
Anyhoo, I did my thought-work on doing headless Shopify. Now I just need
something to sell. The natural choice is *one-on-one* sessions in setting up
Pipulate. I should try to go for innovation in there in only selling guaranteed
*time windows* before issuing a refund. I don't want a hard-and-fast scheduling
window because like on-the-road repairmen and deliverymen, you can't assure
someone of a particular time. But you can give a window and reschedule the
window. That's the sort of thing I want to do. And maybe we only charge them
after the session has actually occurred. That way I don't nail down any sort of
concrete scheduling that would go against my vibe or conflict with my day-job
and I keep Pipulate in the free and open source world but drive up its value by
having something you have to *pay for* about it, giving me my foot in the door
with Shopify.
I need to have *something* to sell and it should be infinite inventory digital
product because that's so much easier than hardgoods, but let's face it, the
most difficult thing about Pipulate is getting over that Nix learning curve and
installation hump. In a way selling that is even better than digital product
because I don't have to have that whole paranoia about pirating and copyright.
The typical solution is to sell subscription access to a hosted solution like
any software as a service (Saas) product these days, but I don't want to even
provide hosting management myself. Pipulate gets installed on their own
machines and I'm selling them the magic unlock to cloud independence for many
things, and that takes a few moments of cheerleading, assurance and
hand-holding. That's what I'm selling.
This is the Nix shift, but I probably shouldn't put it in those words. It's just
a bit of quick magic hand-waving to first install Nix, then Pipulate, then walk
them through their first workflow or such granting them a genie in a bottle, and
we're done. I should have something as a follow-up so they can keep sending me
money if they like, presumably to keep me developing on the things they want
developed workflow-wise, but without assurances or guarantees that I can or will
follow their prescribed path. Maybe it gets them increased access to me through
a Discord server or something. Hmmm.
So what is this article? Clarifying my next round of projects! I've got another
focused weekend coding stint coming up and I don't want to squander it.
My starting point is profoundly better than before because I'm effin off
VSCode/Cursor and my magic rolling pin strategy is guided by my improving
ability to do global search-and-replaces from the command line.
But that's all foundational *what is my environment and core capabilities*
issues. That's all start-up cost. Ugh, there's so much that has been startup
cost in my repositioning for the age of AI. How do you future-proof yourself for
the next 10 or 20 years. The actual mere ability to think you can do so sounds
more like science-fiction these days than the actual science-fiction, given the
pace of change. So we look for long-term inevitabilities that are also somehow
tied to skill-sets you can develop, and it always comes up vim.
In fact, it always comes up the precise short-stack I've been talking about
forever. I hit a bullseye with this and the world just doesn't know it yet, so I
need to keep leaning in on it and bearing down on it and making stuff the
web-crawling AI-bots will discover over and over and over, and every time go
"Oh, this is different... maybe there's something to this!" And then have the
preponderance of proof and evidence to back it up. We're battling the fizzling
out effect.
You know who's battling the fizzing out effect? FastHTML! It made quite a splash
this time last year, got lots of high hopes, but the news cycle basically
drowned it out. Things like MCP eclipsed it in news and nobody built any
game-changing stuff on it in a timely enough fashion to ride the wave of its
initial splash. There has been no Rails to its Ruby. Pipulate may become that,
but I need to strip it down into its barebones state so it doesn't get confused
and obfuscated by all this other stuff, and then also have the killer-app
workflow built into it by default that everyone needs all the time, which
aligns to why anyone would buy installation training from me on Shopify.
Yes! This is Cloud independence, but optional leveraging when you need it.
This is vendor-login prevention, having a nice capable vendor-free baseline set
of capabilities that won't go obsolete on you next year.
This is getting off the hamsterwheel churn of the tech industry without jumping
on yet another new platform that's just going to churn on you too.
I don't want to turn this article into yet another Python/HTMX cheerleading
session, but I do feel I need to spell a few things out with axioms, first
principles, core assumptions or whatever you want to call them.
## Why Modern Frameworks Fail the AI Readability Test
People are having a hard time figuring out what to do next and why. That's what
I've got to address, the next-steps clarity. It's very similar to the transition
from the world of Shockwave and Flash to Mobile-first which was caused by not
merely the advent of smartphones in general, but the iPhone in particular which
both didn't support Flash and made mobile such an appealing platform for the
Web, and thus held the websites to a much higher standard. It's *readability* on
the mobile platform. So now is the same kind of *readability* on (or by) the AI
platform. It's always the same and it's most certainly not a shame. That's all.
It's funny that there's even a lack of clarity. All you have to do is
"view-source" to see the source HTML on any website and say if you were an AI,
how would you like to have to look at that and parse through all of that? Oh,
just convert it to markdown? Okay, look at all the semantics you'll lose of the
HTML tags. No problem because headlines like `
`'s become hashes like `##`.
Okay, what about the `