logoalt Hacker News

1domlast Sunday at 3:57 PM1 replyview on HN

Yes, SSG pipeline + 1 or 2 small self-hosted OSS tools is way simpler than Drupal.

But all you've done in bought on all the pain and compromise of having to think from an SSG perspective, and that created problems which you've already identified you'll figure out in future

I'm suggesting 2 or 3 small self-hosted OSS tools, where one is a small hand crafted server that basically takes a markdown file, renders it, and serves it as plain HTML with a header/footer.

This is more homogenous, fewer unique parts/processes, and doesn't have the constraint of dealing with an SSG.

I remember my own personal pain from 2010 - 2016ish of managing Drupal and Joomla. I did exactly the same as you in 2016 and went all in on SSGs and in 2024, I realised all of the above. I feel like I wasted years of potential development time reinventing basic personal website features to try and work with an SSG and you literally have a ticket to do just that: https://github.com/geerlingguy/jeffgeerling-com/issues/167. 1 of your 3 solutions involves letting someone else host your comments:(

A custom framework/server is the end destination for all nerdy personal websites - I can't wait to see what you make when you realise this:)

edit/p.s. I love you and all your work. Sorry for sounding disagreeable, I'm excited to see what you learn from you SSG journey, I hope you prove me wrong!


Replies

geerlingguylast Sunday at 10:29 PM

Definitely not disagreeable, more just "there are two right answers" ;)

For me, an unstated reason for SSG is being able to scale to millions of requests per hour without scaling up my server to match.

Serving static HTML is insanely easy, even on a cheap $5-10/month VPS. Serving anything dynamic at all is an order of magnitude harder.

Though... I've been using Cloudflare since 2022, after I started getting regular targeted DDoSes (was fun initially, seeing someone target different parts of Drupal, until I just locked down everything except for the final comment pages). The site will randomly get 1-2 million requests in a few minutes, and now Cloudflare eats those quickly, instead of my VPS getting locked up.

Ideally, I'll be able to host without Cloudflare in front at some point, but every month, because of one or two attacks, the site's using 25-35 TB of bandwidth (at least according to CF).

show 1 reply