A single Bash script to blog with

· 1 min ·

I really like to keep an eye out for small, lean content management systems. Flat file, of course! That's how I ended up with Yellow, which built this site to my complete satisfaction.

Recently I stumbled across a completely different approach that I had never heard of before: bashblog[1], a single Bash script to create blogs. Since the repo is apparently no longer regularly maintained, I looked around the forks to see if there was anything promising and found it at jakimfett[2].

I downloaded his bb.sh script to my trusted host and tried running it. Unfortunately, it didn’t work because my SSH access is restricted to a chroot environment, where the only file descriptor available is /dev/null. Anticipating that others might face the same issue, and not wanting to set up a mini server at home just to connect to the Internet, I decided to fork the project[3] and modify the script to use temporary files instead of file descriptors.

One thing led to another, and I ended up making a few additional changes. First, I removed everything related to Twitter/X – let's be honest, nobody needs that anymore. If you're curious, you can check out the rest in the repository.

I have no idea where this journey will lead, but it's exciting to experiment with it.


Reply via e-mail

Back to top