Ok I will try my best to describe what's behind the scenes, and more
importantly why I chose those building blocks.
Source code versionning
If you are not using git for your projects,
you should.
Except for legacy or corporation reasons I do not see why one would not
use it.
I decided to host the code in a private github repository, that's free and simple.
Rendering
This site is statically generated.
As a website that is intended to showcase my skills and share my thoughts/experiences,
this is mostly like a book.
I write stuff so awesome people like you (yes you over there) can read
it and...
THAT'S IT
No interactions, dynamic stuff, etc... So SSG fits perfectly my use
case.
That's an important point to remember, if you can, always use the right
tool for the right job.
Ok that's cool but what tool do you use to generate your site ?
Glad you asked, I chose Astro.
Astro can do many things, and was primarily used to build SSG websites.
Its a javascript-based tool and more importantly content-based (as advertised). You can define your content as pure html, markdown (for
your blog posts) and many other templating possibilities.
Looks like the right tool for me.
Hosting
I wanted something simple to bootstrap and free to use, to focus on
the content of the site and little to zero maintenance so I dismissed
dedicated hardware or VMs.
Today you can choose between many hosting services for static sites,
that are free and can integrate with your git worfklow to auto-deploy.
But be careful, some of them can charge you in unexpected ways...
I finally chose Cloudflare Pages:
- Free plan: more than enough for my 0 visitors website 😅
-
Domain name registered with them too.
The hardest part was to find an available name that I like and not
too expensive.
Most of the hosting config is in the same admin UI
-
Won't be charged because some random bot is spamming requests
- SSL out of the box with auto-renewal, etc...