descriptionA static site for tracking the books I've read
last changeSun, 7 Feb 2021 02:18:57 +0000 (02:18 +0000)
readme

books.alexwlchan.net

This is the source code for https://books.alexwlchan.net, a site I use to track the books I've read. This repo contains both the scripts that build the site, and the source data used by the scripts.

How it works

Each book is a text file, with a bit of metadata at the top, and Markdown text in the body. Here's an example:


book:
  title: Trans Like Me
  author: C. N. Lester
  publication_year: 2017
  cover_image: trans-like-me.jpg
  cover_desc: >
    The words “trans like me” in lowercased, large letters, set on a slightly off-white background.
    The words “trans” and “me” are in red; the word “like” is in black.
  isbn13: 9780349008608

review:
  date_read: 2020-01-27
  rating: 5
  format: paperback
---

I put off reading this for ages, but I’m glad I finally got to reading it.

When I run the build script, it reads all these files, and turns them into a set of HTML files. I upload a copy of those HTML files to my web server, where they're served by nginx.

Why...?

shortlog
2021-02-07 Alex ChanI've read the Colossus book development
2021-02-07 Alex ChanTry a better version of the Mismatch image
2021-01-16 Alex ChanTweak the shade of brown on "A Speller's Companion"
2021-01-16 Alex ChanUse the slug to identify books, not the color
2021-01-03 Alex ChanAdd a note about "Getting the Love You Want"
2021-01-02 Alex ChanAdd an entry for "Lustrum". First book of 2021!
2021-01-02 Alex ChanAdd a script for running a server
2020-12-31 Alex ChanAdd a note about "pixar storytelling"
2020-12-26 Alex ChanAdd an entry for the Read Aloud Cloud
2020-12-25 Alex ChanAllow sorting books within a day
2020-12-25 Alex ChanAdd an entry for "Brexit: A Ladybird Book"
2020-12-25 Alex ChanAdd a note about Christmas
2020-12-25 Alex ChanMore whitespace on review pages
2020-12-25 Alex ChanAdd an entry for "The Trains Now Departed"
2020-12-23 Alex ChanAdd an entry for Bite Size Bash
2020-12-21 Alex Chanactually fix the broken span
...
heads
2 weeks ago development