descriptionA static site for tracking the books I've read
last changeSat, 24 Jul 2021 16:12:20 +0000 (17:12 +0100)
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
101 min ago Alex ChanUse the new link to Tessa Thornton's book tracker development
102 min ago Alex ChanAdd an entry for "Black and British"
8 hours ago Alex Chantweak the appearance on small screens
6 days ago Alex ChanAdd an entry for "The Vela"
7 days ago Alex ChanAdd an entry for "Comet in Moominland"
2021-07-10 Alex ChanSupport "illustrator" as a contributor type
2021-07-10 Alex ChanAdd an entry for "Digging for Words"
2021-07-05 Alex Chanadd a quick entry for the kabuliwallah
2021-07-05 Alex Chanonly count books I finished
2021-07-03 Alex ChanAdd an entry for Finn Family Moomintroll
2021-07-02 Alex ChanAdd a review for "Going Postal"
2021-06-27 Alex ChanTweak "The Woman in Cabin 10"
2021-06-27 Alex ChanTweak the review page on small screens
2021-06-27 Alex ChanAdd an entry for "The Woman in Cabin 10"
2021-06-27 Alex ChanAdd a stub entry for "The Woman in Cabin 10"
2021-06-27 Alex ChanTweak the background colour of 5-star books
...
heads
101 min ago development