A more bingeable XKCD interface 🤖 ⚗️😆
2025-01-03 | #xkcd #cgi | @Acidus
About 3 years ago, I launched a Gemini mirror of the excellent XKCD comic strip:
However it was pretty barebones. Later that year I added a index with titles, but it still wasn't the best experience. So today I did a little work improve the CGI that power the mirror. Now it has:
- Each comic gets its own page
- Show the description/hover text. This content is usually a big part of the jokes in XKCD, and I didn't show it until now.
- Next comic / Previous comic buttons for binge reading
- Go to a Random comic
- Archive is organized by year
I also fixed a few bugs:
- Not always using `safe_title` from the API, which meant certain comic titles were mangled.
- A cron job bug that prevented it from updating consistently.
- Typos in the archive title 🙈
If you haven't read XKCD before, do yourself a favor and try it. A few of my favorites are mentioned here:
Source