KolarclubPersonal website

Astro, Pages CMS, and Cloudflare: the architecture behind this site

How a Git-based CMS and a static build create a simple, reliable publishing workflow.

This article explores the full path of a publication — from the Pages CMS editor, through a GitHub commit, to an automated build in Cloudflare Workers.

const a = 5
const do = function(){}

test

Why Astro

Astro is a natural choice for a website where content matters more than JavaScript. Pages are generated ahead of time and delivered as plain HTML, CSS, and minimal JavaScript.

GitHub as the content source

Markdown files serve as both content and change history. Pages CMS adds a visual editor without hiding the files behind a closed database.

Cloudflare Workers Static Assets

The generated dist directory is published as static assets. Dynamic features can be added to the same Worker later, if there is a real need.