Bits of Simplicity

Tag: #SELF-HOSTING

Site Updates: Theme, Markdown, Back-end, Media, and Comments

Published

I've done a bit of work on the site over the long weekend. Got around to a basic theme instead of plain text styles. It support both light and dark styles. It's still simple, but improves the readability. The front-end now supports markdown. Markdown has been on my list of things to-do for awhile. It make formatting easy, and also takes care of links, code blocks and an common way to do image embeds.

Along with markdown I have built out an actual back-end with a post editor. The back-end is also nextjs but it runs locally and talks to the laravel api that also runs locally. The front-end is nextjs but statically exported and pulls posts and pages from the api when building. Another item is media uploads (and embeds thanks to markdown). It gets uploaded to the api from the back-end and then the front-end copies them at build time.

I wanted a way to do comments without switching from a static site. There are a few ways to do that using javascript and 3rd party services, but I had the idea to use Mastodon instead. The way it works is if comments are enabled for a post, at build time it will trigger my @blog bot to share a post. From there I can either boost or quote it to share it with the people that follow @bhhaskin. People can then comment/reply to the post and the next time I build the site it will be pulled down by the api. It does mean there is a lag between commenting on the Mastodon post and when they show up on the blog post, but it is a good trade off.

Categories:

Goodbye 2025, Hello 2026!

Published

It's been a while since I've posted anything, and a lot has changed since 2023. I don't have much to report from 2024, but 2025 has been pretty eventful. I got married, we're expecting our first in March, and we're buying a house.

This year I want to get back into the habit of writing. I'm setting a loose goal of 52 blog posts, one per week, though not necessarily posted weekly. Some will be short updates, others longer deep dives into projects.

On the project side, I built an 8-node Raspberry Pi cluster that's currently running Docker Swarm and Portainer. I've also been building out anchordns.io and sitery.io. AnchorDNS is a DNS management platform that also handles front-end proxying. Sitery is a container-based managed hosting platform for WordPress, and I'm in the middle of migrating all of my legacy hosting clients over to it.

Outside of software, I have a long list of boat projects planned for Suddenly. The biggest one is moving her to Nevada for a multi-year refit up on the hard. I also have plans for both bryanhaskin.com and this site.

Over the last two years, I've listened to quite a few audiobooks. Sixty-three in 2025 and seventy-seven in 2024. I've been reading more ebooks as well, but nowhere near the same volume as audiobooks. It's been a healthy mix of science fiction and LitRPG.

Categories: