How this site works: an AI editor, Git, and free hosting

siteaicloudflare

This website has no database and no server. Every page is a plain static file — which means it is fast, free to host, and can survive any amount of traffic.

The workflow: I describe a change to the AI agent in Google Antigravity → it edits the content files → node build.js regenerates the whole site → a Git push publishes it to Cloudflare Pages, live in about a minute. GitHub keeps every version, so nothing is ever lost.

Embedding media

Images are plain HTML pointing at an external URL:

<figure>
  <img src="https://example.com/photo.jpg" alt="Description of the photo">
  <figcaption>A caption for the photo.</figcaption>
</figure>

And videos from YouTube or social media use the responsive embed wrapper:

<div class="embed">
  <iframe src="https://www.youtube.com/embed/VIDEO_ID"
          title="Video title" allowfullscreen></iframe>
</div>

That's the whole system. Simple enough to understand completely — powerful enough to grow with me.

← All posts