How I Keep a Reading Log in Obsidian: Book Notes and a Database

Contents
  1. Why I started keeping a reading log in Obsidian
  2. How to keep a reading log in Obsidian
  3. Making a book note
  4. Building a reading database
  5. Wrapping up

This post was automatically translated by AI from the Japanese original. Some screenshots are in Japanese.

Since I started extensive reading in English, I’ve read 30 books, 1,468,222 words in total.
What keeps that record going is my reading notes in Obsidian.

In this post, I’ll show you how I make book notes in Obsidian.

Why I started keeping a reading log in Obsidian#

Once I started extensive reading in English, I wanted to keep track of how much I’d read so far.

At first I used a phone app, but I had two worries:

  • it might start charging at some point
  • if the service shut down, I’d have to move all my data somewhere else

I didn’t like the idea of my way of managing things changing because of the developer’s decisions.

Logging in Excel didn’t work either: opening the file every time and typing in titles and authors was such a chore that I gave up.

Now I use a free app called Obsidian.

A table of the books I've read, with title, author, word count and readability level

Managing my reading in Obsidian

Obsidian is a note-taking app that saves your data on your own computer.
It’s local-first (you own your data on your own machine), and you can link notes together to build a network of knowledge.

Monthly word totals, with the grand total of 1,468,222 shown

You can even make monthly totals

Looking at these totals, I can see about 1.47 million words piling up, and that feels rewarding.

Above all, my data stays with me, which feels safe, and Obsidian lets me use it as casually as a notepad, so it’s really easy for me to use.

I keep my data on iCloud, so I can view and edit my notes on my computer, iPhone and iPad.

One book note, with properties like author and publisher at the top and the cover below

A book note

One book = one file, and I can keep notes on each book too.

How to keep a reading log in Obsidian#

I use the Obsidian community plugin “Book Search”.

(This would get too long, so I’ll skip the first setup and the basics of Obsidian.)

Install the “Book Search” community plugin#

(The first time, turn off Restricted mode under Settings > Community plugins.)

Go to Settings > Community Plugins > Browse and search for “Book Search”.

Book Search in the community plugin search results

Book Search

Install “Templater” the same way.

Templater in the community plugin search results

Install Templater

Prepare a note template for books#

In your templates folder, create a note template for books.

The "book" note in the 90_Templates folder, containing the reading template

The book template

Name the file “book” and copy and paste the content below into it.
I use “book” for tags, but use any tag name you like.

I also added a “words” (word count) property.

book
---
title: "{{title}}"
subtitle: "{{subtitle}}"
author: "{{author}}"
publisher: {{publisher}}
published: {{publishDate}}
isbn: {{isbn10}} {{isbn13}}
cover: {{coverUrl}}
tags: book
words:
date: {{DATE:YYYY-MM-DD}}
---
<%* if (tp.frontmatter.cover && tp.frontmatter.cover.trim() !== "") { tR += `![cover|150](${tp.frontmatter.cover})` } %>
## {{title}}
{{description}}

Book Search settings#

Under Settings > Book Search, set the folder to save to, the file name, the template file and so on.

I set the locale to “English”, but set it to “Japanese” for books in Japanese (or whichever language your books are in).

The Book Search settings, with handwritten notes on the folder, file name, template and locale fields

Paste in an API key#

First, create a project in Google Cloud (so far I’ve stayed within the free tier).

Create an API key in Google Cloud, turn on the Books API from the API Library, and enter the key in the API key field. That lets the plugin fetch data from Google Books.

Google Cloud

Go to APIs & Services > Credentials, then Create credentials > “API key”.
Give it a name, choose “Books API” under API restrictions, and save.

On the Google Cloud credentials screen, choosing "API key" from "Create credentials"

Paste the API key into “Set API Key” in the Book Search plugin and click “Save Key”.

Below the Book Search settings, a field for the API key and a "Save Key" button

Save the API key

That’s it for the setup.

Making a book note#

On a Mac, press Command + P (Ctrl + P on Windows) to open the command palette and click “Book Search: Create New Book”.

The command palette showing "Book Search: Create new book note"

Or click the book icon “Create New Book note” in the left sidebar.

Hovering over the book icon in the left sidebar shows "Create new book note"

On a phone, tap the three lines at the bottom right and tap “Create New Book note”.

The phone menu, with "Create new base" outlined

A search bar appears. Type in a title or similar, and a book note is created in the folder you chose.

The "Search Book" dialog with a locale selector and a search box

Sometimes the book details don’t come through properly, so I fill those in by hand.

Building a reading database#

Make a list with Create New Base.

The reading database as a table of date, title, author, word count and YL

Filter: file tags contains book

Properties: date, title, author, or whatever you like
Sort: date (ascending)

Click the bottom row to show a summary row. I show the total word count, but the number of books read could be nice too.

Bonus: monthly totals#

I make monthly totals with the community plugin “Dataview”.

A monthly word-count table made with Dataview

Here’s the code:

TABLE sum(rows.word_num) AS "Total Words"
FROM #book
FLATTEN number(words) AS word_num
WHERE word_num
GROUP BY dateformat(date, "yyyy-MM") AS Month
SORT Month ASC
const pages = Array.from(dv.pages('"50_Resources"'));
const nums = pages .map(p => Number(p.words)) .filter(n => !Number.isNaN(n));
const total = nums.reduce((a,b)=>a+b,0);
dv.paragraph(`>### Total words: **${total.toLocaleString()}**`);

50_Resources is the folder where my books are.

Wrapping up#

Once it’s set up, adding the books you’ve read takes just a few clicks, which is so handy.
I can make lists and totals however I like, so I’m really happy with it.

If you use Obsidian and don’t mind setting up a Google Cloud API key, give it a try.

I explain my extensive reading habit in more detail here → Read for 30 Minutes and Underline: My Simple Extensive Reading Habit

You can record your Kindle highlights in the same way → How to Use Kindle Highlights in Obsidian: Setup, Templates and My Take

Emi
Emi

Making apps, learning English, stationery and note-taking, customizing WordPress and blogs, and more. I write freely about what I learn and how I feel in everyday life.