@thegibson fold up everything on my lunch tray and cram it into the milk carton

@mwl I mean he got his own lung cancer cured, so I believe in him

A neat thing about having written my own static site generator for my blog is that I can just make stuff up when I want to.

Latest idea I might try is a single markdown file with separators that the code splits up into multiple entries. So, I can open one page for the week - or for the day - in Obsidian and just spew ideas into it

Also, I'm still surprised I haven't seen more static site generators like mine?

I do the stupidest thing possible: I load every post up into RAM and then slice & dice them into HTML pages written to disk.

It turns out that even over 23 years worth of handwritten posts fit just fine into my laptop's memory. And the process to read and parse them just screams. Rebuilding the entire blog from scratch takes like 2 seconds - so fast I haven't even bothered optimizing

blog.lmorchard.com/2020/05/25/

Like, the only thing motivating me to optimize is the notion that maybe possibly I can make the thing so responsive that it could rebuild whatever entry I'm working on with *every keystroke*

Next you're going to tell me an American won Eurovision

#

Les Orchard

@derf Yeah, my blog is just a bucket on S3. I run builds on GitHub Actions, because that makes it convenient to edit from GitHub occasionally. But, I could just run it from a raspberry pi in my house or something

@tedmielczarek Yeah, that was my experience with Gatsby and Hugo and even Jekyll. So I was like, how bad could doing the dumb thing go? Turns out it worked way better than expected :blobshrug:

@davew I will readily admit I keep reinventing your wheels 😅

@davew I think Pike / Radio UserLand was the first static site generator for blogging that I played with personally?

There was also Movable Type and Blosxom, but I'm pretty sure those came a year or two later for me

#

Les Orchard

#

Les Orchard

@tedmielczarek That sounds like a fun project to learn the tech though!

2025/05/09