Readest Highlights

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

Description

Obsidian plugin to import highlights and annotations from Readest

Reviews

No reviews yet.

Stats

12
stars
5,397
downloads
2
forks
114
days
1
days
10
days
52
total PRs
0
open PRs
12
closed PRs
40
merged PRs
11
total issues
4
open issues
7
closed issues
244
commits

Latest Version

10 days ago

Changelog

Added

  • Callout per color (Rendering > Highlights): callout-style highlights get a callout type per Readest color, such as [!quote-yellow], styled by the plugin. Off by default. The plugin doesn't run on mobile, so the docs have a CSS snippet for the colors there.
  • A Reset to defaults button at the bottom of the settings tab. It asks first, and keeps the source paths and output folder so the next sync still finds your notes.
  • {progress} and {status} tokens for Extra fields, e.g. progress: {progress}. Progress is a whole percentage that Bases can sort and filter; status is Readest's unread, reading, finished or abandoned. Sync updates these fields even with Preserve manual edits on, so a note using {progress} changes whenever your progress does. They are empty in filename and heading templates.
  • Cover folder (Setup > Output) copies each book's cover into the vault as <folder>/<hash>.png, and the new {cover} token gives its path, e.g. poster: "[[{cover}]]" for Bases card views. Off by default.
  • Chapter headings for PDFs, taken from the PDF's bookmarks since Readest keeps no table of contents for them. PDFs without bookmarks still have no headings. (#58, thanks @a-rock-lobster)

Changed

  • Separator None no longer runs highlights together. Each highlight gets its own paragraph, blockquotes and callouts stay one block, and plain text renders as with Blank line. With Callout per color, a new color starts a new callout.
  • The default tag is now book instead of Book, matching Obsidian's lowercase convention and the genre tags. This applies to new installs and to settings still at the default.

Fixed

  • Readest's squiggly underline renders as a wavy underline when Render underlines is on, instead of as a plain highlight.
  • Separator None with the Callout style put every highlight into the first callout and left the later callout headers as literal text.
  • A highlight after a separated note, a note callout or a block ID no longer merges into it.

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.