The version of this website you are reading has a simpler job than the self-hosted system I built first. I still wanted to write and edit in a browser, but I did not need to operate a database, an object store and a virtual machine every time I wanted to publish an essay or update a project.
The answer was not to make the site less personal. It was to move the source of truth somewhere that already has history, reviewable changes and a clear path to deployment: Git.
Editing is a commit
The public site is built with Astro. Its writing, project records, page settings and gallery metadata live as content files in the repository. Keystatic provides the browser editor over those records, so I can change the copy without opening a code editor while the page structure, typography and routes remain in the codebase.
When I save, Keystatic uses a GitHub App to create a commit on the publishing branch. That means an edit is not hidden inside a CMS database. It has a history, it can be inspected like any other change, and it becomes part of the same repository as the site that renders it.
A build is the publishing boundary
Cloudflare Workers hosts the Astro application and provides the server-side runtime Keystatic needs for authentication and GitHub-backed editing. Public pages are generated ahead of time during the build, while the Worker handles the small amount of server functionality that cannot be static.
The publishing flow is deliberately plain:
- I edit a record in the browser.
- The editor saves a Git commit to the publishing branch.
- When I trigger a Cloudflare build, it builds that revision and deploys it if the build succeeds.
Automatic builds are paused while I am making a longer set of edits. I trigger one deployment when the work is ready. That is not a replacement for testing, but it stops a paragraph-level change from becoming a paragraph-level deployment.
What “free” means here
This setup uses the free tiers of GitHub and Cloudflare Workers. It is not a promise that the entire website costs nothing: the domain is still a separate expense, and free tiers have limits. It is simply a better match for this site than keeping a server running for content that is mostly read far more often than it is changed.
The result is a publishing system with fewer operational pieces in my hands, but not less control over the content. The code stays code, the writing stays editable, every saved change is visible in Git, and the public site can remain focused on being read.