descriptionA static site for tracking the books I've read
last changeMon, 12 Oct 2020 00:37:18 +0000 (01:37 +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
2020-10-12 Alex ChanUse a new tinted book set on every page development
2020-10-11 Alex ChanTweak appearance for mobile
2020-10-11 Alex ChanAdd a review of "The City & the City"
2020-10-11 Alex ChanDon't highlight 5 star books on the homepage
2020-10-11 Alex ChanUse tint colours throughout the app
2020-10-11 Alex ChanFix a thumbnail path
2020-10-11 Alex ChanUse tint colors to colorise links on individual pages
2020-10-11 Alex ChanThrow a shelf of pseudo book spines at the top of the...
2020-09-27 Alex ChanAdd a review for "Engineering a Safer World"
2020-09-19 Alex ChanAdd a review of "An Atlas of Extinct Countries"
2020-09-17 Alex ChanAdd an entry for "A Speller's Companion"
2020-09-15 Alex ChanAdd an entry for "Codebreakers"
2020-09-10 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"
...
heads
2 weeks ago development