descriptionA static site for tracking the books I've read
last changeSat, 19 Sep 2020 16:45:55 +0000 (17:45 +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
3 days ago Alex ChanAdd a review of "An Atlas of Extinct Countries" development
5 days ago Alex ChanAdd an entry for "A Speller's Companion"
8 days ago Alex ChanAdd an entry for "Codebreakers"
12 days ago Alex ChanAdd an entry for "The Wandering Wombles"
2020-08-16 Alex ChanAdd a note about "Brag Better"
2020-08-16 Alex ChanAdd a note about Montmorency
2020-08-08 Alex ChanAdd an entry for "Airman"
2020-07-30 Alex ChanAdd the Scrapheap Challenge book
2020-07-26 Alex ChanAdd a review of "Creative Selection"
2020-07-18 Alex ChanAdd two new books
2020-07-12 Alex ChanAdd a review of "The Gate of Angels"
2020-07-12 Alex ChanBe explicit that these scripts require Python 3
2020-07-11 Alex ChanAdd a review of "Small Robots"
2020-07-05 Alex ChanInclude the MD5 hash in CSS URLs, so the URL changes...
2020-07-05 Alex ChanAdd a review for "GCHQ"
2020-07-05 Alex ChanUse a book icon as a separator, not leaves
...
heads
3 days ago development