david bowman2k downloadsSync annotations and highlights from your Kavita server to your vault.
Bring your reading highlights and notes from Kavita into Obsidian, as beautiful, linked book notes.
---
title: The Great Gatsby
author:
- "[[F. Scott Fitzgerald]]"
series: "[[The Great Gatsby]]"
series_index: 1
genres:
- Fiction
cover: "[[Kavita Annotations/Covers/123.png]]"
highlights: 12
last_highlighted: 2026-10-12
kavita_url: https://kavita.example.com/library/1/series/42/book/123
kavita_series_id: 42
kavita_chapter_id: 123
tags:
- kavita
- series/the-great-gatsby
- author/f-scott-fitzgerald
- genre/fiction
---
![[Kavita Annotations/Covers/123.png|160]]
by [[F. Scott Fitzgerald]] · [Open in Kavita](https://kavita.example.com/library/1/series/42/book/123)
## Chapter 1
> [!kavita-yellow] [Page 3](https://kavita.example.com/library/1/series/42/book/123?annotation=987)
> In my younger and more vulnerable years my father gave me some advice…
>
> **Note:** The narrator sets up his own reliability here.
## My notes
Anything I write here is kept on every sync.
In Obsidian each highlight renders as a colored callout, and its page label opens that exact spot in Kavita. Spoilers, if you include them, appear collapsed. Everything above My notes is refreshed on each sync; write your own thoughts under it.
Prefer everything in one place? Choose One note for everything and all highlights go into a single note, grouped by series, book, and chapter.
You can reopen setup any time with the command Kavita Sync: Connect to Kavita.
main.js, manifest.json, and styles.css from the latest release..obsidian/plugins/kavita-sync/ inside your vault.obsidian://kavita-sync to start a sync, for example from a shortcut or script.While a sync runs, a notice shows progress, then a summary such as 12 highlights from 4 books · 2 new, with a link to open your notes. The status bar shows when you last synced.
Other commands:
| Setting | What it does | Default |
|---|---|---|
| Server URL | Your Kavita address | |
| Auth key | Your Kavita auth key, kept in Obsidian's secure storage rather than the vault | |
| Layout | One note per book, or one note for everything | One note per book |
| Folder | Where book notes go, filed by series | Kavita Annotations |
| Note | The note used by the one-note layout | kavita-annotations.md |
| Download book covers | Show each cover in its note and the library view | On |
| Create a library view | Add a base that shows your books as cover cards (created once, never overwritten) | Off |
| Remove notes for deleted highlights | Trash a book note once all its highlights are gone from Kavita (only notes this plugin created) | On |
| Include your comments | Show the notes you wrote on highlights | On |
| Include spoilers | Show spoiler highlights, collapsed | Off |
| Match highlight colors | Color highlights like Kavita, or use plain quotes | On |
| Highlight template | Customize each highlight, with a live preview of your own highlights | Callout |
| Link authors and series | Write authors and series as [[links]] |
On |
| Add tags / Genre tag prefix | Tag notes by series, author, and genre | On / genre/ |
| Sync when Obsidian starts | Check for new highlights when the vault opens | Off |
| Sync automatically | Check for new highlights every 15 minutes to 3 hours | Off |
The template controls each highlight. Variables include {{quote}}, {{selectedText}}, {{comment}}, {{commentQuote}}, {{callout}}, {{color}}, {{fold}}, {{location}}, {{link}}, {{pageNumber}}, {{chapterTitle}}, {{seriesName}}, and {{date}}, plus {{#if variable}}…{{/if}} blocks. The template page in settings lists every variable and previews your most recent highlights as you type.
Every error tells you what went wrong and links to the fix. See the troubleshooting guide for details.
This plugin connects only to your own Kavita server. All requests go through Obsidian's requestUrl to the server URL you configure:
| Request | Why |
|---|---|
POST /api/Plugin/authenticate |
Exchange your auth key for a short-lived session token |
GET /api/Account |
Find out which user the key belongs to, so only your highlights sync |
POST /api/Annotation/all-filtered |
Get your highlights |
GET /api/Series/volumes |
Get book titles, authors, and genres |
GET /api/Image/chapter-cover |
Download covers (only when Download book covers is on) |
See CONTRIBUTING.md for development setup, tests, and the release flow.
MIT