Jens Mittelbach53 downloadsKeep your existing Obsidian book notes in sync with Hardcover.
Bring your Hardcover library into Obsidian. Keep book notes up to date with your reading status, ratings, dates, progress, and book details, while keeping your own notes alongside them.
Hardcover is the source for reading records. Make reading updates there, then sync them into Obsidian. This includes physical books, ebooks, and audiobooks. You can opt in to import your Hardcover reviews or publish individual reviews from Obsidian.
You need Obsidian 1.11.5 or later, a Hardcover account, and an internet connection to sync. No template plugin is required.
Install Hardcover Sync from the Obsidian Community directory:
Already installed it from the Community directory? Open Settings → Community plugins → Check for updates.
main.js, manifest.json, and styles.css from the version you want on the releases page..obsidian/plugins/hardcover-sync/ folder.Books.On mobile, tap Open Hardcover in browser. If the browser does not open, use Copy sign-in link and paste it into your browser. Connect separately on each device where you want to run sync.
Keep a backup before your first import into a vault with existing book notes.
Update your books on Hardcover, then click the refresh icon in Obsidian’s ribbon or run Sync reading records now from the command palette.
Book details such as titles, authors, covers, and descriptions are cached for seven days to speed up repeat syncs. Run Hardcover Sync: Refresh catalog and sync to retrieve the latest details immediately and update your notes. Reading status, ratings, dates, progress, and imported reviews are fetched fresh on every sync.
For automatic updates, enable Poll while Obsidian is open. The default interval is 30 minutes and the minimum is 5 minutes. Sync stops when Obsidian or the plugin is closed.
To investigate a slow sync, run Measure sync performance (preview only) or Show sync performance from the command palette. The report shows counts and time spent fetching and processing your library. The latest ten reports stay on this device until the plugin reloads. See the measurement guide for comparing runs.
Enable Import reviews in Settings → Hardcover Sync, then run Sync reading records now. Sync copies reviews you wrote on Hardcover into My review in your book notes, including reviews stored in older Hardcover formats. Import uses your existing read access. Preview reading note changes shows which reviews can be imported and flags conflicts.
Use Review section heading to choose another heading, such as Meine Rezension. Enter the text without ##; blank uses My review. Use ## Meine Rezension in a custom template, with an empty section for importing. Existing ## My review and ## Review sections remain supported and keep their headings. Multiple matching sections are reported as conflicts. Changing the setting does not rename existing headings.
Later syncs update untouched imports and restore the Hardcover review when sync recreates a missing book note. If you edit or clear a review in an existing Obsidian note, sync preserves your change. If the Hardcover version also changes, sync reports the difference. Removing a review on Hardcover leaves your Obsidian copy in place.
write:library and write:reviews in addition to the usual read scopes.## My review by default). The review ends at the next heading of the same or higher level. Existing ## My review and ## Review headings also work. Use one matching review heading per note.If the existing review changes after preview, the command shows the latest version for another confirmation. Regular sync and polling only import reviews. Disconnect and reconnect with Publish reviews off to return to a read-only browser connection.
New notes use the title, an optional subtitle, authors, cover, description, and genres, followed by My review and My notes. Keep the text you want to review under My review and your other writing under My notes.
By default, the description appears only in the note body. Authors, cover, and genres also appear in the note’s Properties, along with the title, subtitle, reading details, and other book information.
Sync refreshes the imported properties and marked text blocks. It preserves your personal writing, unrelated properties, filenames, and folder locations. The title and subtitle headings are set when a note is created; later syncs preserve those headings.
Removing a book from Hardcover does not delete its Obsidian note. Books marked paused, did not finish, or ignored update an existing note, but do not create a new one.
Add the book’s Hardcover URL to a property named hardcover_url. For example:
hardcover_url: https://hardcover.app/books/the-book-slug
Alternatively, use hardcover_id with the Hardcover book ID. Sync looks throughout your vault for matching notes, so they can stay in their current folders. If more than one note matches a book, it reports the conflict for you to resolve.
Use Excluded folders to skip folders such as archives or templates. Exclusions include their subfolders. Keep notes you want to sync outside those exclusions.
Under Book metadata, choose where each field appears: in YAML (Obsidian Properties), the Note body, or both. You can also rename properties to match your vault’s conventions, such as authors or pages.
For more control, use your own Markdown template or an optional Templater template. Start with the customization guide, which explains field placeholders and includes examples.
Custom templates are used for new notes. Changing a template does not rewrite existing notes. Existing saved mappings and templates are kept when you update the plugin.
If you need a personal API token or your own app registration, see connection options. To report a problem, open an issue with the error message and relevant steps. Never include tokens or credentials.
The plugin requests read access to retrieve your library and book details. If you enable review publishing and confirm a preview, the plugin sends the designated review text and spoiler flag to Hardcover. Regular sync and polling only import data. Book covers load from the image addresses supplied by Hardcover when Obsidian displays them.
Credentials are stored in Obsidian’s secret storage. Imported notes stay in your vault and are included in any sync or backup you use for that vault. The plugin has no telemetry.
The catalog cache is stored with the plugin's data in your vault, associated with the connected account. It contains book details and their IDs, and is included in any sync or backup of that plugin data.
To find existing book notes, sync scans local Markdown files for Hardcover IDs and URLs, skipping excluded folders and the selected template. Matching happens locally.
On mobile, Copy sign-in link writes the authorization link to your clipboard only when you press it. The plugin never reads your clipboard.
Copy report copies performance counts and timings only when pressed. Performance reports contain no credentials, book titles, note paths, or note content and are never uploaded automatically.
MIT.