Written 15 May 2026

The automation of static site blogs

This page is made with Astro on Cloudflare Pages with Directus, but for that you can basically use any method of storing your posts.

Learn Typescript

Learn a bit of typescript, maybe manually create your first Astro page which can act as a Work-in-Progress indicator. Bonus points if you add a newsletter formula or any other way you could give your audience an update once the content is added. I use rss for it, even if no one knows how it works.

Content Management System

Directus is a headless CMS, meaning it doesn't have a Frontend. The benefit of a headless CMS is that the Frontend is up to us and we can optimize any aspect and even like this site, use a static builder.

The collection I am using in Directus is pretty primitive in the moment.

Screenshot from Directus

Basically just a Title, Content and SEO Text which is the description. The same can be achieved with files or a normal database, but a headless CMS has some features like automatic hosting of images that a simple PostgreSQL wouldn't have.

You can also have that storage directly in your home computer, though that makes every single step more complicated and makes an automated deploy hard to do (near impossible).

Version Management

Once you got your CMS set up, you might want to put your code on a git repository so a script can actually update your page when the code changes. If you don't know how to use git, read the the official tutorial for it.

Cloudflare Pages

Cloudflare gives you free pages and can also prevent your page from getting downed by a DDoS Attack, tho that might be rare for you. I explicitly use it because it has webhook support. So my CMS can request a rebuild as soon as I write a new post.

You can also use neocities or nekoweb, benefit of those is that they already give you a community to grow in. Downside is that you need a bit more software to automate the deployment.