DRAWK.CAB, the 2026 edition
It's a tradition whenever I'm between jobs for me to rip up the software running my website and start over.
This is for two main reasons
- I like taking the site in wacky and experimental new directions, and
- I have likely forgotten how to update it, owing as often as not to the wacky direction I chose last time.
For a long time my Web presence was at `colourcountry.net` but now I'm using that for my freelance work so random stuff now lives on this exciting new domain.
So what is the wacky and experimental new direction this time?
This time round I'm just simplifying the whole setup. Being, well, less wacky and experimental.
- I had a single source of web pages which was right there in my projects repo. This worked well, so that is staying.
- I wrote everything in Gemtext and didn't worry about tags or a date-based feed. This is fine too.
- I served the Gemtext in a gemini capsule. This was okay, but I didn't maintain the server well enough. The certificate would expire and I wouldn't notice for months at a time.
- I also served the Gemtext out of a VPS where it got picked up by a SvelteKit app running on Vercel. This sounds as completely unnecessary as it in fact was. It also made things like image thumbnailing hard. Where would it even happen?
So I'm going back to static generation, using Eleventy.
I still want to have a gemini capsule but I'll put it back up on the raspberry pi running Yunohost in my cupboard. I don't need a VPS for it, and i feel like that is a more appropriate place for a gemini capsule to live anyway.
I also broke most of my old URLs in the move to the new domain. I'd put in some redirects so I could honour them all whilst moving the content to the new site, and then, obviously, never got around to it. So I've backed out the redirects and the old sites are back in all their slightly broken glory. Nope, I didn't even delete them.
Previous iterations
2023: SvelteKit and Gemini
This was the first version of the site to be served as a Gemini capsule.
With the old site, I found I wasn't putting projects up there, even when I'd finished (or shelved) them. There was an extra step of writing some content and then building the site, which often didn't get done.
- Using Gemtext, a format that's simpler even than Markdown, I hope there will be basically no reason not to write stuff.
- My projects live in a Git repo that's backed up, and the Gemtext files are right in there. When I push some work to it, the content goes live automatically. No extra step.
I'm also going to try using the same pages for in-progress notes and todos. Work out in the open.
The second important new feature is that if I do want to do something fancy on the Web, I still have a way to incorporate that onto the site. Previous designs wanted me to work within the framework I'd built, using templates and things for new content types. I've come to believe this is a fundamental mistake which may be the subject of a whole piece someday. I've tried it on strangers in coffeeshops, so it's probably ready for the internet?
The Gemini capsule is served over its proper protocol, for those who are interested in that.
I've reconciled myself to managing links manually. I've spent way too long exploring different ways of automating connections between pages, both on this site and professionally. It has been fun in its way, but at the scale I'm working at here it really doesn't save any time, and it leads to sites which feel more like a maze with very little treasure to be found. This time I'm going to aim to make every page worth the effort to get there.
You'll find the links on these pages are separated from the text, in asides or at the ends of sections. This is enforced by the Gemtext format, but I'm happy with it. I prefer reading content without being distracted by links in the middle, and I suspect this policy plays better with assistive technologies too.
Incidentally it was standard policy of BBC News Online in the 90s to separate links from articles, although probably the editorial tools at the time didn't support links, so they will have had to be added by someone else.
There's no metadata about times in this setup, so I can't organise posts by date or provide an RSS feed;—I think I'm OK with this, but having a bit of YAML at the end of the page is a possibility.
2020: doing things just SKOS
The 2020 iteration was statically generated using templates, so the site was just a bunch of files. Very easy to serve. But this meant I had to move a lot of complexity into a build step. There could be bugs in the build process or in the files I was building the site from. Basically I had to debug my own content.
The design suffered from severe framework disease. Pages had lots of stuff that the framework made easy, and not much actually interesting stuff. The CSS was a bit horrible, there was no component encapsulation, and I'm pretty sure it had some severe accessibility issues.
The framework used a triple store of linked data, with an ontology to back it up. That was cool! But completely unnecessary for a website targeted at sentient beings. It's nice to have an ontology because it helps you think through the concepts you're using and apply them consistently, but use cases for the technical part are thin on the ground.
Most importantly though, it was just too hard to update, so I didn't. In three years I didn't even transfer everything worth saving from the previous site.
2017: FALSE
This was another CGI-powered dynamic extravaganza that used IPFS to serve everything. Unfortunately like all server side magic it succumbed to link rot and is no longer accessible.
2013: static generation
This iteration was also statically generated but was much simpler. It was very visual. It used animation, which I haven't tried before or since.
This was the era I decided to put the year in the URL. Not the year of the content, but the year of the URL scheme. It served me well over the next years, and in fact all the links still work. Score one more for static generation.
Mid-2000s sometime: database
My hosting provider gave me a SQL database so I thought I should use that. It was a mistake.
2003: Piwi
This was a CGI app that constructed web pages out of a load of text files. Like the original Ward's Wiki, you didn't need to write any links. Instead if you mentioned the name of any page then the app would spot it and turn it into a link. This was even more extreme than Ward's wiki as you could put spaces in the link names: I figured the site was never going to be big enough to worry about accidental linking. This was a slightly flawed assumption but it was fun. It has also rotted away like the other dynamic sites.
Before that: plain old HTML
My first website didn't use tables because tables hadn't been invented yet. I remember using javascript to make the links glow when you hovered over them. The links were text in a GIF, because nobody thought about accessibility in the 90s. Ironically, the friend who showed me how to do that ended up making a career out of accessibility on the Web.