$ cd ~/posts/rebuilding-this-site-with-ai

How I Rebuilt This Site With AI in a few hours

$ date → 28 April 2026

ai · astro · claude · developer-experience · productivity

This site used to be a Hugo blog. The theme was fine, the posts were fine, but the stack didn’t let me build the parts I actually wanted: a smart-home dashboard, an interactive chat about me, things that needed React and a real component model.

I rebuilt it in a few hours. Hugo → Astro 5 + React 19 + Tailwind, plus access-restricted dashboards backed by serverless functions. I wrote almost none of it by hand. The whole thing was shaped through conversation with an AI assistant.

Some of that experience surprised me. This post is what I learned.

What I actually did

The starting point was a hugo.yaml, a PaperMod theme, a content/posts/ directory, and a few custom shortcodes. The end state was an Astro site with React islands, a content collection for posts, Tailwind for styling, and serverless functions for private dashboards.

The migration roughly looked like this:

  1. Scaffold an Astro project with the right integrations.
  2. Port the content collection (posts) and rewrite the schema.
  3. Recreate the layout (homepage, post page, navigation) as Astro components.
  4. Add interactive React components for the dashboards and chat.
  5. Wire serverless functions for the API proxy.
  6. Tune typography, dark mode, syntax highlighting.

I drove all of it from a chat window. I described what I wanted, the AI proposed code, I reviewed and edited, we iterated. For most of those few hours the loop was: state the next thing I want, read the diff, run it locally, react.

Where AI actually saved me time

A few categories where the leverage was real:

The thing that stood out wasn’t any single moment, it was the cadence. Normally a side-project rebuild dies somewhere around the third yak-shave. With AI in the loop, the yaks shaved themselves. I stayed in flow.

Where it didn’t help (and where it hurt)

Not everything worked. The categories that needed real attention:

The pattern is consistent: AI is great at things that have lots of public examples and clear conventions. It struggles with things that depend on context only I have, or with new APIs that the public web hasn’t caught up on yet.

The skill is review, not generation

The interesting realization is that the bottleneck moved. Generating code became cheap; reviewing it became the thing that mattered. You’re reading more code per hour than you ever did, and your judgment is what keeps the codebase coherent.

A few habits that helped:

The flip side: the AI is not your code reviewer. It will write code that runs. It will not always write code that’s good. The “is this the right abstraction?” question is yours.

What I’m fascinated by

The thing that keeps me coming back is the pace. The model I used a year ago could not have done what the current one did in a few hours, not in scope, not in quality, not in how naturally the conversation flowed. Anyone working in this space sees the floor moving up every few months.

I also like that AI lets me build the kind of thing that wasn’t worth building before. A custom personal site with smart-home integration and a chat widget is a lot of code. As an afternoon project it would have been laughable two years ago. Now it’s reasonable. The bar for “worth it” has dropped, which means the set of things I’ll actually ship has grown.

Practical takeaways

If you’re thinking about doing something similar, a few things I’d do again:

The site you’re reading was built this way. It’s not perfect; I can already see things I’d change. But it exists, and it does what I wanted, and it took a few hours. That trade-off is hard to argue with.