by soapdog · 4y ago · 0 comments
You might want to evaluate if posting from multiple devices is important to you, and if you're willing to setup some process to do it with a static website. I'm not saying that it can be done, I'm just highlighting that it is not something you can automatically take for granted.
An option that you might want to consider is GravCMS[1] which is PHP based. It has an interactive app for admin and posting, but once you post it generates static files. So from the point of view of the server and your readers, your website is static. You can still post from anywhere though.
I'm sure there are other similar solutions, and that someone has a SaaS to solve this which they think it will be the next unicorn. Anyway, just another thing for you to consider.
[1]: https://getgrav.org/
There's a plug-in(s) for WP that allows you to have the GUI for convenience, but then generate a static site:
* https://www.wordpress.org/plugins/simply-static/
* https://www.wpexplorer.com/static-website-wordpress/
Either serve the static area directly, or use some scripting to update where your public web server lives.
Regarding posting only from your computer, you can just use a git repo that triggers builds on push.
You can see many options for them here https://jamstack.org/generators/
Some apps like Netlify (are there others?) presented solutions but are unfortunately to my knowledge not selfhostable.
Also interesting to question the whole supply chain security. What is Gitlab gets hacked? Surely you could deploy from/to your own infra using Gitlab as a source of truth by verifying PGP signatures (like with guix git-authenticate), but then how to apply the aforementioned ACLs? If you have resources on that topic, i'm all ears.
P.S had no intention of becoming the next unicorn :)
If you are looking to get an understanding of deployment models, gitops, hosting solutions, CSS, HTML, and maybe do some writing, choose the static hosting option.
If you are looking to write, choose wordpress, preferably hosted.
You can git push from anything these days, including an iPad (which is basically what I do).
(edit: why the downvotes?)
Still, you're right that doing git stuff on other devices can be a bit annoying. A web interface might be a lot more convenient if you want to edit your blog WYSIWYG on the fly.