GitXplorerGitXplorer
a

books.alexwlchan.net

public
17 stars
2 forks
2 issues

Commits

List of commits on branch main.
Verified
53b22d4c4530c8ae310f09952c7784c68d31bd00

Merge pull request #181 from alexwlchan/dependabot/bundler/rubocop-1.70.0

aalexwlchan committed 8 days ago
Unverified
44b4efbe1d621352ee4ad316db8ce1fc83b8a843

Fix a lint warning about mutable defaults

aalexwlchan committed 8 days ago
Verified
6fbf1388d20f1481db3baa88ae9f5d1bfff07ed5

Merge pull request #182 from alexwlchan/dependabot/bundler/logger-1.6.5

aalexwlchan committed 8 days ago
Verified
053a8cc0b226703b76e0e2ed868a6d5e72ac6526

Bump logger from 1.6.4 to 1.6.5

ddependabot[bot] committed 8 days ago
Verified
7b59ae9dca2f52a5eac99dab1c0181a96ab7355b

Bump rubocop from 1.69.2 to 1.70.0

ddependabot[bot] committed 8 days ago
Unverified
8df3e3a310ea52508219e29c7f49ea365eb85ac9

Add a review for "Service Model"

aalexwlchan committed 10 days ago

README

The README file for this repository.

books.alexwlchan.net

build_site

This is the source code for https://books.alexwlchan.net, a site I use to track the books I've read. It creates bright, colourful cards for each book, with a tint colour based on the book's cover. Each card links to a longer, more detailed review.

A screenshot of the homepage, which has a brief introductory paragraph and a list of three recent books.

This repo contains my reviews, the cover images, and the Rust tool that creates the site.

How I store my reviews

Individual reviews are stored as plaintext files in the src directory, one per book I've read. Here's an example:

---
book:
  contributors:
    - name: Susanna Clarke
  cover:
    name: piranesi.jpg
    size: 1992812
    tint_color: "#916540"
  publication_year: "2020"
  title: Piranesi
review:
  date_read: 2022-01-20
  rating: 5
---

This is a weird but delightful book.

Each book also has a cover image in the covers directory.

These files get fed into a static site generator that creates HTML files.

Key tools

The site uses:

Motivation

I want a good way to track my books -- both to help me remember what I've read, and so I think more about why I like the books I do.

I've tried Goodreads and a couple of other sites, but they don't really work for me -- they emphasise more social features than book tracking, and I can't be as nit picky with the details as I'd like.

Building my own site allows me to be very picky, which is particularly useful for book covers. I find covers easy to remember -- I may not know a book if you tell me the title, but show me the cover and you'll get instant recognition. Being able to pick the covers (and then tint the site around them) really works for me.