Unearthed · Guides
Updated
Sync KOReader highlights to Obsidian, Craft or Notion
The Unearthed KOReader plugin works with both Unearthed Local and Unearthed Online. Choose Unearthed Local to export highlights to Obsidian or Craft from your computer. Choose Unearthed Online to sync highlights to Obsidian through its plugin or send books to Notion. The setup paths below are alternatives: follow the one for the app you use.
Choose Unearthed Local or Unearthed Online
Both apps receive highlights and notes made in KOReader, but their export destinations and connection requirements differ. Craft export is available in Unearthed Local; Notion sync is available in Unearthed Online. Obsidian works with either app, using a different export method.
| Feature | Unearthed Local | Unearthed Online |
|---|---|---|
| Receive KOReader highlights and notes | Yes, on your computer | Yes, in your web library |
| Obsidian | Export directly to your vault | Sync through the Unearthed Obsidian plugin |
| Craft | Direct export | Not available |
| Notion | Not available | Book sync |
| Connection | Keep the desktop app running and reachable from your reader | Internet access required |
| Credentials | Connection URL and Local Secret from Unearthed Local | API key and User ID from Unearthed Online |
Install the KOReader plugin for either app
Follow the plugin’s installation instructions on GitHub. You need to be reading in KOReader, rather than the default reader that came with your Kindle or Kobo.
- Install Unearthed.koplugin in KOReader’s plugins folder and restart KOReader.
- Enable Unearthed in Plugin Management if needed.
- Set Book Location to the folder containing your books and their .sdr folders, where KOReader saves highlights and reading progress.
- Choose one of the connection paths below: Unearthed Local or Unearthed Online.
Connect KOReader to Unearthed Online
Use this path for a web library with Obsidian plugin sync or Notion book sync. Your reader needs internet access; the Unearthed Local desktop app is not required for this path.
- Get your API key and User ID from Unearthed Online.
- Enter the API key and User ID in the KOReader plugin’s settings for Unearthed Online. These are not the connection URL or Local Secret used by Unearthed Local.
- Close the current book so KOReader saves its highlights and notes, then choose Send Books.
- Check that the book and its highlights appear in Unearthed Online.
- Use the Unearthed Obsidian plugin to sync to your vault, or configure the Notion connection in Unearthed Online to sync books to Notion.
Connect KOReader to Unearthed Local
Use this path for direct export to Obsidian or Craft. You’ll need KOReader installed on your reader and Unearthed Local running on your computer. Connect both devices to the same local network. This example exports to Obsidian; for Craft, configure the Craft connection in Unearthed Local instead.
- Open a book in KOReader, add a short highlight and a note, then close the book so its metadata is saved.
- In Unearthed Local, save a secret under API Endpoint and copy the displayed connection URL. Keep Unearthed Local running.
- In KOReader, open Tools → Unearthed → Local Settings. Enter that URL and the same secret; confirm the book is under General Settings → Book Location.
- Choose Send Books. Your book, highlight and note should now appear in Unearthed Local.
- In Unearthed Local, select your Obsidian vault and export the book. Check the Markdown note, then repeat with one additional highlight.
If a highlight is missing
Keep the books you want to sync in the folder you chose during setup. Close the book before syncing so KOReader saves your latest highlights. If you read the same title in Kindle and KOReader, check that both sets of highlights appear under the right book.
KOReader connection errors and quick checks
For Unearthed Local, check that your reader can reach your computer and that the connection URL and Local Secret match the desktop app’s settings. For Unearthed Online, check internet access, the API key and User ID instead. Startup and hourly sync options are available in the plugin.
| Problem | Check first |
|---|---|
| Unearthed is missing from the Tools menu | Keep the Unearthed.koplugin folder inside koreader/plugins, restart KOReader and check Plugin Management. |
| Connection refused or timed out | For Unearthed Local, keep the desktop app running and check Wi-Fi, the desktop address and firewall access. For Unearthed Online, check your reader’s internet connection. |
| Authentication error with Unearthed Local | Save the secret in Unearthed Local and use exactly the same Local Secret in KOReader. An Unearthed Online API key is not the Local Secret. |
| Authentication error with Unearthed Online | Check the API key and User ID from Unearthed Online. Do not use the connection URL or Local Secret from Unearthed Local. |
| Only some books arrive | Check the configured Book Location and its metadata folders; close the current book before sending. |
| Sync stops after a network change | For Unearthed Local, copy the current connection URL again; the computer’s network address may have changed. For Unearthed Online, check internet access. |
Can I use the stock Kindle or Kobo reader instead?
The plugin reads highlights made in KOReader. It won’t pick up highlights from the reading app that came with your Kindle or Kobo. For Kindle books that appear in Amazon Kindle Notebook, use Unearthed’s Kindle connection instead. If you haven’t installed KOReader yet, check its device support and installation instructions first.
Documentation and links