descriptionA static site for tracking the books I've read
last changeSun, 12 Jul 2020 10:52:39 +0000 (11:52 +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
21 hours ago Alex ChanAdd a review of "The Gate of Angels" development
21 hours ago Alex ChanBe explicit that these scripts require Python 3
47 hours ago Alex ChanAdd a review of "Small Robots"
7 days ago Alex ChanInclude the MD5 hash in CSS URLs, so the URL changes...
7 days ago Alex ChanAdd a review for "GCHQ"
7 days ago Alex ChanUse a book icon as a separator, not leaves
8 days ago Alex ChanAdd a "Currently reading" for GCHQ
8 days ago Alex ChanAdd a note about "Atomic"
2020-06-14 Alex ChanAdd another thread about The Origisn of Unfairness
2020-06-14 Alex ChanAdd an entry for "Long Walk to Freedom"
2020-06-14 Alex ChanAdd a note about "Think Black"
2020-06-14 Alex ChanAdd a note on "How to be Alone"
2020-06-07 Alex ChanAdd a note about "Black and British"
2020-05-22 Alex ChanAdd a review of "The Night Circus"
2020-05-19 Alex ChanAdd a recommendation
2020-05-17 Alex ChanAdd a note about Atomic Habits
...
heads
21 hours ago development