You can find descriptions of such a setup by googling.
I have looked into this before, but it honestly just seemed very esoteric and complex. I'm surprised that Github doesn't provide pre-made "recipes" for this stuff.
[0]: https://param.codes
Nice theme by the way. :)
But I'm not the target audience. I think the idea of naked blogging is kind of silly. Blog if you want to blog, your clothing choices are your own.
Git (versioning) -> Github (Git hosting) -> Github Pages (static site generation, and hosting) -> Cloudflare Free Plan (DNS and CDN). I have a Gitlab account that has mirrors of my Git repos, just in case.
One question, though. How do you use more than one CDN to front your website?
[1]: https://gurjeet.singh.im/ [2]: https://github.com/gurjeet/gurjeet.singh.im
You could get redundancy for the authoritative DNS hosting provider as well. Add both provider NS server records at your domain registrar. Then, your only single point of compromise would be your domain registrar.
You could get two different domains (on different tld) via different registrars and have both domains point to the same site. Of course, unless people know the alternate domain, this isn't of much help. But for a mobile app's api endpoint, I would recommend a setup like this to make it truly bullet proof.
If you want a templating system, it wouldn’t be hard to run a script that deterministically takes all templates in folder X and compiles them into folder Y.
<body>
<script src="./magic.js"></script>
# Markdown goes here
* etc.
</body>
Where magic.js converts MD to HTML, adds CSS/Templating, and somehow if it can get a list of files from the server can produce a list of posts.
- a git repo containing a Hugo (or similar) SSG site.
– push this git repo to a couple of free private repo hosting services (GitHub, GitLab, GCP CloudCode, AWS CodeCommit etc)
– and optionally use their free CI integration to generate the static site (or do it locally on your laptop).
- and push to a free cloud storage (AWS, GCP, Azure, Oracle etc all give storage in their free tier).
- Use Cloudflare CDN or AWS CloudFront (or both) to serve this static website from the storage origin.
– Use Cloudflare DNS for hosting your custom personal domain name and point it to the CDNs.
All this is free, with a bit of effort of initial setup in an afternoon. And it is super resilient with multiple independent CDN, Storage and Git hosting.