This microblog runs in its own LXC container with the following components: vanilla Python and Jinja for templating.

Each new entry in a PocketBase SQLite database (also hosted in the same LXC container) triggers a build.

I use an MD5 hash-based caching system to avoid full rebuilds—only elements with changed hashes are rebuilt. The build takes just 30ms for 16 entries in my table.

I’m using an Intel N100 processor, and the generation consumes very little electricity ! After the build completes, I stop the LXC container to prevent unnecessary resource waste (primarily systemd).

Post image
Close
Fullscreen image