Readest Highlights

by polybjorn
5
4
3
2
1
Score: 51/100

Description

Obsidian plugin to import highlights and annotations from Readest

Reviews

No reviews yet.

Stats

14
stars
5,523
downloads
3
forks
129
days
1
days
2
days
52
total PRs
0
open PRs
12
closed PRs
40
merged PRs
12
total issues
2
open issues
10
closed issues
287
commits

Latest Version

2 days ago

Changelog

Added

  • Your own comments on a highlight: a > [!comment] callout typed below a highlight survives re-sync and stays under that highlight, so notes and tags written in Obsidian sit next to the passage. A comment can run several paragraphs, including lines typed without >, and Append one book to current note keeps comments too. Needs Preserve manual edits and Block IDs on, and works with any heading level. If a highlight is removed in Readest, its comment moves to a heading at the end of the section with the highlight's text, marked Removed from Readest, and goes back under the highlight if it returns. (#60, thanks @a-rock-lobster)
  • Readest link placement: the Readest link can go on the page label, as in (page 24), instead of an Open in Readest line under each highlight. A highlight with no page label keeps the link on its own line. Own line stays the default. (#61)

Changed

  • Requires Obsidian 1.13 or later. Users on Obsidian 1.12 stay on 1.9.0.
  • Reset to defaults asks in Obsidian's own confirmation dialog.
  • A sync no longer leaves warnings in the developer console: details no notice reports are logged at debug level. Notes in the output folder that share a book hash log an error, since their notice points to the console.

Fixed

  • Highlights on the same page are listed in the order they appear in the text, instead of the order they were made.
  • Settings changed on another device and brought in by Obsidian Sync take effect while Obsidian is open, instead of being overwritten by the next setting changed here.
  • Sync finds the library after Readest's data location has been moved to another folder or drive, by reading the new location from Readest's settings, so the path no longer has to be added under Source. (#62)
  • A Source path can stop at Readest's data folder: the plugin also looks in Books and Readest/Books under each listed path. A path with no library on this device shows a warning under it in settings. (#62)
  • When none of the Source paths has a library, a notice names the folder sync used instead and adds it to Source. When no library is found at all, the error says to add the folder that contains library.json under Source. (#62)
  • Highlights that Readest saved without a book hash get a Readest link too, instead of none. (#57)

Full Changelog: https://github.com/polybjorn/obsidian-readest-highlights/compare/1.9.0...1.10.0

README file from

Github

Obsidian Readest Highlights

Obsidian plugin downloads

Readest stores its library, progress, and annotations locally as JSON. This plugin reads those files and renders your highlights into your Obsidian vault, one note per book, where they can be searched and linked with the rest of your notes.

A sync filling a book note with highlights from Readest

Docs

Commands

Command Action
Sync all books to folder Creates or updates a note per book in the configured folder.
Sync one book to folder... Pick a single book from a fuzzy picker.
Append one book to current note... Pick a book, appends its highlights to the active note.

Requirements

Desktop Obsidian 1.13 or later, with access to a Readest Books folder. Readest's built-in sync is the easiest way to collect annotations from other devices into one folder, but any setup that exposes the folder to Obsidian works.

Readest's sync downloads a book's highlights only when that book is opened, so highlights made on another device reach the plugin after the book has been opened once in Readest on the computer Obsidian runs on. Each book needs this once per batch of new highlights: open it, let Readest finish syncing, and close it again.

What the plugin accesses

  • Readest folder, read-only. The plugin reads library.json, each book's config.json and, if Cover folder is set, its cover.png, and never writes there. The folder is set in Settings, and if left empty the platform default is used. Because this folder is outside the vault, the plugin uses Node's fs module to read it.
  • Vault, read and write. On re-sync, the plugin matches books to existing notes in your output folder by their readest-hash frontmatter field, then creates or updates notes there. If Cover folder is set, it also copies each book's cover.png into that folder as an image; covers are never deleted.
  • No network. The plugin makes no outbound requests.

Disclaimer

Independent community plugin, not affiliated with Readest.