Hardcover

by aliceinwaterdeep
5
4
3
2
1
Score: 49/100

Description

Category: 3rd Party Integrations

The Hardcover plugin syncs your Hardcover reading library into your vault, creating one note per book with comprehensive metadata in frontmatter. It performs incremental updates, only syncing books that changed since the last sync. Each note includes configurable fields like title, authors, rating, status, quotes from your reading journal, genres and more. You can format authors, series, genres and publishers as wikilinks for interconnected notes. The plugin supports directory organization by author and/or series with customizable folder structures. A delimiter system separates plugi generated content from your personal notes, preserving your additions during syncs.

Reviews

No reviews yet.

Stats

34
stars
1,160
downloads
3
forks
88
days
38
days
38
days
20
total PRs
0
open PRs
3
closed PRs
17
merged PRs
18
total issues
2
open issues
16
closed issues
0
commits

RequirementsExperimental

Latest Version

a month ago

Changelog

2.0.1

Fixed

  • Improved the informational texts in the settings UI for better clarity.

Please check Release v2.0.0 for important information on new features and breaking changes.

README file from

Github

Obsidian Hardcover Plugin

Syncs your Hardcover library to your Obsidian vault, creating one note per book with metadata stored in frontmatter properties.

GitHub downloads

obsidian-hardcover-v2-demo

⚠️ Version 2.0.0 - Breaking Changes

v2.0.0 introduces customizable note templates and splits book/edition fields. Your settings will be automatically migrated. See migration docs if you're curious.

Table of Contents

Features

  • Complete Library Sync: Import your entire Hardcover library as Obsidian notes
  • Incremental Updates: Only sync books that have changed since your last sync
  • Flexible Configuration:
    • Define a template to control how your note looks (frontmatter and body)
    • Add custom properties to frontmatter
    • Template validation with error messages
  • Directory Organization:
    • Group your book notes by author and/or series
  • Sync by status:
    • Configure a filter to only sync books of a specific status (e.g. Want to Read)
  • User notes: The plugin uses a delimiter system to separate plugin-generated content and user-added content. This means you can add your own personal notes to a book note below the delimiter and it will be preserved during syncs.

[!WARNING] While the delimiter system protects your content during syncs, regular backups of your vault are still recommended. I am not responsible for any data loss.

Requirements

Note for existing users: Version 1.9.0 introduced this requirement. If you're on an older version of Obsidian, stay on plugin version 1.8.1 or earlier.

Installation

  1. Open Obsidian Settings
  2. Go to Community Plugins -> Browse
  3. Search for "Hardcover"
  4. Click Install
  5. Enable the plugin

Manual Installation

  1. Download the ZIP file from the latest release
  2. Extract the ZIP file to your vault's plugins folder: YourVaultName/.obsidian/plugins/
  3. You should now have a folder: YourVaultName/.obsidian/plugins/hardcover containing 3 files
  4. Restart Obsidian or go to Settings -> Community plugins -> Reload plugins
  5. Enable "Hardcover" in Settings -> Community plugins

Updating from versions before 1.1.0

Important: The plugin folder name changed for Obsidian directory compliance.

If you installed this plugin manually before 1.1.0:

  1. Backup your settings:Copy .obsidian/plugins/obsidian-hardcover-vX.X.X/data.json somewhere safe
  2. Remove the old folder: Delete .obsidian/plugins/obsidian-hardcover-vX.X.X/
  3. Install the new version following the instructions above
  4. Restore settings: Copy data.json to .obsidian/plugins/hardcover/data.json

Note: The new plugin creates a hardcover folder instead of obsidian-hardcover.

Setup

  1. Get your Hardcover API key from Hardcover
  2. Open Obsidian Settings and go to the "Hardcover" tab
  3. Configure your API key using one of these methods:
    • SecretStorage (recommended): Store your API key securely using Obsidian's encrypted SecretStorage. Click "Link..." in the API key setting to create or select a secret.
    • Environment file: Create a .env file in your vault root with:
     HARDCOVER_API_KEY=your_api_key_here

Note: If you use both methods, the .env file takes priority. SecretStorage provides encrypted storage, while .env is useful if you are syncing your vault with git.

  1. Configure a target folder for your book notes (must be a subfolder, not vault root)
  2. Customize which fields to include and their property names
  3. Click "Sync now" to import your library

[!TIP] If you want to test your setup before syncing everything, you can use the Debug menu to run a test sync with a limited number of books. Recommended for large libraries.

Hardcover API keys expire after 1 year. You can check the expiration date of your current key on Hardcover.

Quick Access

Once set up, you can sync your Hardcover library in multiple ways:

  • Settings tab: Click "Sync now" in the plugin settings
  • Command palette: Press Ctrl+P or Cmd+P and search for "Sync library"
  • Ribbon icon: Click the book icon in the left sidebar

Sync Process

The plugin follows these steps when syncing:

  1. Fetches books from the Hardcover API (in batches of 100)
  2. Creates or updates notes for each book
  3. Stores the sync timestamp for incremental updates

For large libraries, the plugin uses pagination and respects API rate limits. Hardcover limits requests to 60 per minute. The plugin handles this but very large libraries may take time.

  • If some books fail to process, others will still be synced
  • The timestamp is only updated if all books process successfully

Settings Overview

Custom Note Template

Note Template

v2.0.0 introduces a fully customizable note template using variable substitution.

Edit your template in Settings -> Note Template:

---
title: {{editionTitle}}
cover: {{editionCover}}
releaseDate: {{editionReleaseDate}}
authors: {{editionAuthors}}
---

# {{editionTitle}}

![cover|300](https://raw.githubusercontent.com/aliceinwaterdeep/obsidian-hardcover/HEAD/{{editionCover}})

{{description}}

## Review
{{review}}

## Quotes
{{quotes}}

Available Variables

Book vs Edition Data:

  • Title: {{bookTitle}} / {{editionTitle}}
  • Cover: {{bookCover}} / {{editionCover}}
  • Release Date: {{bookReleaseDate}} / {{editionReleaseDate}}
  • Authors: {{bookAuthors}} / {{editionAuthors}}
  • Contributors: {{bookContributors}} / {{editionContributors}}

Book Information:

  • {{description}} - Book description
  • {{url}} - Hardcover URL
  • {{series}} - Series information
  • {{genres}} - Genre tags

Edition Information:

  • {{publisher}} - Publisher name
  • {{isbn10}} / {{isbn13}} - ISBN numbers

Your Data:

  • {{rating}} - Your rating
  • {{status}} - Reading status
  • {{review}} - Your written review
  • {{quotes}} - Highlights from reading journal
  • {{lists}} - Your Hardcover lists

Reading Activity:

  • {{firstReadStart}} / {{firstReadEnd}} - First read dates
  • {{lastReadStart}} / {{lastReadEnd}} - Most recent read dates
  • {{totalReads}} - Number of times read
  • {{readYears}} - Years when read

You can also find the list of all available variables in the settings.

Custom properties

You can add custom properties that will be added to every note. Example:

---
title: {{editionTitle}}
tags: "#books"
---

Important: Template properties are regenerated every sync. These are meant for properties and values you want to apply to every book note and won't change manually (tags, dates using Templater, etc). For properties you need to change manually, you can manually add them to specific notes. If "Preserve custom frontmatter" (enabled by default) is enabled, they will be kept across syncs.

[!WARNING] Custom properties follow the same YAML syntax as Obsidian properties. Common examples:

  • Tags: myTag: "#books" (quotes required for #)
  • Lists: myTags: ["#fiction", "#2026"]
  • Wikilinks: "[[My link]]"

Format certain fields as [[wikilinks]] in frontmatter and body:

  • Authors
  • Contributors
  • Series
  • Publisher
  • Genres
  • Lists

Filename Template

Customize how note filenames are generated using variables like {{editionTitle}}, {{bookAuthors}}, {{bookYear}}, etc.

Default: {{editionTitle}} ({{editionYear}})

Notes are identified using the Hardcover Book ID (hardcoverBookId in the frontmatter) so you're free to choose whatever filename suits your vault.

Grouping Options

  • Disabled (default): All notes go in your target folder
  • Group by Author: Books/Brandon Sanderson/book1.md, Books/Martha Wells/book2.md
  • Group by Series: Books/The Murderbot Diaries/book1.md, Books/Secret Projects/book2.md
  • Group by Author -> Series: Books/Brandon Sanderson/Secret Projects/book1.md
Author Name Format

When grouping by author, choose between:

  • First Name Last Name (default): Brandon Sanderson/
  • Last Name, First Name: Sanderson, Brandon/
Advanced Options

When grouping by author, you can configure how to handle edge cases:

Missing Author Handling

Some books may not have anyone marked as "Author" (graphic novels with Writers, books with only Editors, etc.). Choose how to handle these:

  • Use fallback priority (default): Writer -> Editor -> first available contributor
  • Use fallback folder: Places the book in a dedicated folder (customizable, default: "Various")

Multiple Authors Handling

Books with multiple authors (anthologies, essay collections) can be organized in two ways:

  • Use first author (default): Places the book under the first author listed
  • Use collections folder: Places the book in a dedicated folder (customizable, default: "Collections")

Note: These advanced settings only affect folder organization. The frontmatter metadata always reflects the actual data from Hardcover.

Auto-organize Notes

By default, the plugin automatically moves and renames notes to match your grouping settings on every sync. If you prefer to manually organize your book notes:

  • Disable "Auto-organize notes" to keep files where you've placed them
  • Notes will stay in their current folders, but filenames will still update if you change the filename template
  • New books will always follow your grouping settings

Note: If you manually rename folders and then add new books to those authors/series, the plugin will create new folders following the grouping settings, potentially splitting your collection. You'll need to manually consolidate these folders if desired.

Important Notes
  • Multiple series: Books in multiple series use the first series Hardcover provides for grouping, to avoid duplicate notes.

Note Format

Each synced book creates a note with:

  1. Frontmatter containing all used variables
  2. Body containing all used variables
  3. Hardcover delimiter line (<!-- obsidian-hardcover-plugin-end -->)

Content below the delimiter line is preserved during syncs, so you can add your own notes without fear of losing them during updates.

[!WARNING] While the delimiter system protects your content during syncs, regular backups of your vault are still recommended. I am not responsible for any data loss.

Example:

---
hardcoverBookId: 12345
title: "Project Hail Mary"
authors: ["Andy Weir"]
rating: "5/5"
status: ["Read"]
releaseDate: "2021-05-04"
tags: ["#books", "#media"]
myCustomProp: hello
---

# Project Hail Mary

![Project Hail Mary Cover|300](https://images.hardcover.app/...)

## My Review

Lorem ipsum dolor sit amet, consectetur adipiscing elit...

## Quotes

> "Human beings have a remarkable ability to accept the abnormal and make it normal."

> "Grumpy. Angry. Stupid. How long since last sleep, question?"

<!-- obsidian-hardcover-plugin-end -->

## My Notes

These notes won't be overwritten during sync...

Changelog

See CHANGELOG.md for the full version history.

Documentation

See Documentation.

Roadmap

Planned Features

Feel free to have a look at the plugin board to know what I'm working on and what's in the pipeline.

Under Consideration

Ideas for new features are collected here! Feel free to upvote the features you're interested in or suggest a new one. New ideas are always welcome!

Issues and Contributions

Feel free to open an issue if you find bugs or have a feature idea!

Contributions are more than welcome! It would be great if you could open an issue to discuss what you'd like to contribute to before opening a PR.


Disclaimer: This plugin is not affiliated with Hardcover or Obsidian.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Air Quotes
3 years ago by Alan Grainger
Plugin for Obsidian. Search and insert quotes from a source text as you type. This is great for reading a physical book or eReader while taking notes on a separate laptop or phone.
Anki Integration
a year ago by Noah Boos AKA Rift
Create flashcards from your notes with a seamless interface, structuring them with metadata and syncing effortlessly via AnkiConnect.
AnkiSync+
3 years ago by RochaG0
AnySocket Sync
2 years ago by Andrei Vaduva
Securely Synchronize your Vault on a self-hosted server
Apple Books Highlights
3 years ago by Atif Afzal
Sync your Apple Books highlights in Obsidian
Askify Sync
3 years ago by Kishlay Raj
Awesome Flashcard
4 years ago by AwesomeDog
Handy Anki integration for Obsidian.
Awesome Reader
3 years ago by AwesomeDog
Make Obsidian a proper Reader.
BetaX NAS Sync
a year ago by Skye
Obsidian NAS Sync
Bible sidecar
a year ago by Janis Ringli
This repository contains a plugin for obsidian that lets you view the bible in a sidebar within obsidian.
Book Clipper
5 months ago by Hossein Fardmohammadi
Save book details from websites into your notes
Book Search
4 years ago by anpigon
Obsidian plugin that automatically creates notes by searching for books
BookFusion
2 years ago by BookFusion
BookFusion Obsidian Plugin
BookNav
2 years ago by jemberton
A plugin for ObsidianMD that enables book style navigation links in a note.
Bookshelf
a year ago by Philip Weinke
Your personal bookshelf in Obsidian
Booksidian
4 years ago by Micha Brugger
A plugin to connect your Goodreads shelves to your Obsidian vault.
BookXNote Sync
2 years ago by CodeListening
将bookxnote中的笔记同步到obsidian指定的文件夹中
Browser History
a year ago by noy4
Sync your browser history to notes.
Calibre
4 years ago by caronchen
Allow you to access your calibre libraries and read books directly in Obsidian.
Card Viewer
6 months ago by vsme
一个用于在 Obsidian 中解析和查看电影、电视剧、书籍、音乐和 HTML 内容卡片的插件。
Checkbox Sync
a year ago by Grol
Keep parent/child checkboxes in sync automatically within your Obsidian task lists.
Cicada Synchronizer
2 years ago by Adapole, Adapole, Mahyar Mirrashed
Cloud Storage
2 years ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Confluence Sync
2 years ago by Prateek Grover
Obsidian plugin for obsidian confluence sync
Cubox
a year ago by delphi-2015
Cubox Official Obsidian Plugin
DocBase (Unofficial)
2 years ago by yurikuvanov
Unofficial DocBase plugin for Obsidian
Douban
4 years ago by Wanxp
an obsidian plugin that can pull data from douban to your markdown file
ePub Reader
4 years ago by caronchen
An ePub reader plugin for Obsidian.
ExMemo Client
2 years ago by Yan.Xie
exmemo obsidian plugin
Feedly Annotations Sync
a year ago by Nick Felker
Download my Feedly annotations
Filename Heading Sync
5 years ago by dvcrn
Obisdian.md plugin to keep the filename and the first header of the file in sync
Focus and Highlight
4 years ago by BO YI TSAI
A plugin for obsidian to focus and highlight on a specific heading in Reading mode.
GitHub Gitless Sync
a year ago by Silvano Cerza
Sync a GitHub repository with vaults on different platforms without requiring git installation
Github Issues
10 months ago by LonoxX
An Obsidian plugin that integrates with GitHub to track issues and pull requests directly in your vault.
GitHub Sync
2 years ago by Kevin Chin
Sync Obsidian vault to personal GitHub
GitHub Tracker
a year ago by schaier-io
Glasp
a year ago by Glasp
Obsidian plugin to import highlights and notes from Glasp
Google Contacts
a year ago by aleksejs1
Obsidian plugin for sync Google Contacts with obsidian notes
Google Drive Sync
a year ago by Richard Xiong
A plugin to make Obsidian work in Google Drive to enable access to iOS.
HackerNews
5 years ago by arpitbbhayani
Displays top stories from Hacker News inside Obsidian.
HackMD Sync
a year ago by thor kampefner
obsidian extension to push and pull notes from hackmd conveniently
Hoarder Sync
a year ago by Jordan Hofker
An Obsidian.md community plugin that allows syncing with https://karakeep.app/
InfoFlow
a year ago by RockieStar Inc.
Obsidian plugin for InfoFlow.app - This plugin integrates InfoFlow with Obsidian, allowing you to sync your saved articles, web pages, notes, and highlights directly into your Obsidian vault.
Instapaper
2 years ago by Instapaper
Official Instapaper plugin for Obsidian
Invio
3 years ago by frontend-engineering
Publish obsidian docs online
Jade Publisher
a year ago by Lucas Ji
This is a simple plugin to help publish your Obsidian vault to a public website(build with Jade).
Jira Issue Manager
a year ago by Alamion
Obisdian plugin to sync tasks between Obsidian and Jira
KOI Sync
a year ago by Luke Miller
KOReader Sync
4 years ago by Federico "Edo" Granata
Obsidian.md plugin to sync highlights/notes from koreader
Limitless Lifelogs
a year ago by Maclean Dunkin
Sync your Limitless AI lifelog entries directly into Obsidian markdown files.
LINE Notes Sync
a year ago by onikun94
Linked Data Vocabularies
3 years ago by kometenstaub
Add linked data to the YAML of your Obsidian notes.
Markdown Hijacker
a year ago by Yongmini
Beyond the Vault. One hub for every Markdown, everywhere
Markwhen File Sync
a year ago by rouvenjahnke
Synchronize properties from your Obsidian notes with a Markwhen timeline file.
Memos AI Sync
a year ago by leoleelxh
obsidian-memos-sync-plugin,将 Memos 内容同步到 Obsidian 的插件,提供无缝集成体验。
Memos Sync
2 years ago by RyoJerryYu
Syncing Memos to Obsidian daily note. Fully compatible with official Daily Notes plugin, Calendar plugin and Periodic Notes plugin.
Minote Sync
a year ago by Emac Shen
Minote Sync is a Obsidian plugin to sync Minote(小米笔记) into your Vault.
MrDoc
6 months ago by zmister
An Obsidian plugin for MrDoc that enables two-way synchronization between local Obsidian documents and MrDoc.一个 Obsidian 的 MrDoc 插件,用于 Obsidian 本地文档与 MrDoc 的双向同步
Note Annotations
a year ago by Jan Beck
Notes Sync Share
3 years ago by Alt-er
Sync and share (publish) your notes in your own private service.
Nutstore Sync
5 months ago by nutstore-dev
Peerdraft
2 years ago by Peerdraft
Collaboration for Obsidian – Sync, Share, and Edit anywhere
Pinboard Sync
4 years ago by Mathew Spolin
Obsidian plugin to sync Pinboard.in links to Daily Notes
Readavocado Sync
4 years ago by Cyrus Zhang
Readavocado obsidian plugin to sync your favorite highlights.
Readwise Mirror
5 years ago by jsonmartin
Remaining reading time
7 months ago by ununnamed
Shows the remaining reading time in status bar
Remember Scrollposition
4 months ago by s-blu
A plugin that saves the scroll position for each note to return you to where you left off
Remotely Save
4 years ago by fyears
Sync notes between local and cloud with smart conflict: S3 (Amazon S3/Cloudflare R2/Backblaze B2/...), Dropbox, webdav (NextCloud/InfiniCLOUD/Synology/...), OneDrive, Google Drive (GDrive), Box, pCloud, Yandex Disk, Koofr, Azure Blob Storage.
SamePage
3 years ago by SamePage
Scholar
3 years ago by Shannon Shen
Streamline Research Workflow in Obsidian
Settings profiles
2 years ago by 4Source
This is a plugin for Obsidian (https://obsidian.md). Allows you to create various global settings profiles. You can sync them between different vaults. To keep all your settings in sync, you'll never have to manually adjust them again for every vault you have or create in the future.
Share to NotionNext
3 years ago by EasyChris, jxpeng98
Share obsidian markdown file to any Notion database and generate notion share link 同步obsdian文件到任意Notion数据库。
Strava Sync
2 years ago by Howard Wilson
Sync Strava activities to your Obsidian vault
Sync Cnblog
a year ago by zhanglei
同步文章到博客园
Sync config folder to common folder
2 years ago by codeonquer
Sync Graph Settings
3 years ago by Xallt
This is a plugin for syncing graph settings (Color Groups and Search Filters) to Local Graphs
Sync to Hugo
a year ago by Cray Huang
Sync the selected notes from Obsidian to Hugo
Sync Vault CE
a year ago by Camus Qiu
The missing bridge between your 10+ TB cloud drive and your AI brain.
Sync-safe file names
6 months ago by j-maas
Ensure your Obsidian files can always be synced across all your devices.
Syncthing Integration
3 years ago by LBF38
Obsidian plugin for Syncthing integration
Taskbone
5 years ago by Dominik Schlund
Obsidian OCR plugin - extract text from images
TickTick
3 years ago by Viduy Cheung
TickTickSync
2 years ago by thesamim
Todoist Sync
6 years ago by jamiebrynes7
Materialize Todoist tasks in Obsidian notes
Tressel Sync for Obsidian
4 years ago by Tressel
Official Tressel plugin to export various content from the Internet (like Twitter, Reddit, Kindle and more) into Obsidian
Unearthed (Kindle Sync)
a year ago by CheersCal
VaultSync
a year ago by Justin Bird
Obsidian plugin to link your vault to a cloud storage provider.
Vika Sync
4 years ago by romantic-black
Vikunja Sync
2 years ago by Peter Heiss
Manage your tasks in vikunja.
Vim Multibyte Char Search
4 years ago by anselmwang
Search multibyte characters by the corresponding input method encoding. For example, for Chinese, search "用来" by "yl"
Voicenotes Sync
2 years ago by Andrew Lombardi
Official Obsidian plugin that syncs your notes from VoiceNotes.com into your vault
Weread Plugin
4 years ago by hank zhao
Obsidian Weread Plugin is a plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.
WikiDocs
a year ago by pahkey
Writing
3 years ago by johackim
Write and format your next book directly from Obsidian
WuCai highlights Official
3 years ago by 希果壳五彩
WuCai highlights Official, for Sync highlights into your obsidian notes
Yandex Wiki Integration
10 months ago by Pavel Sokolov