github CaptainCamin/HardcoverSync.koplugin v1.7.0

latest releases: v2.5.2, v2.5.1, v2.5.0...
one month ago

Your library now lives on your device

Until now, most screens downloaded everything again each time they opened, even when nothing had changed, and lists didn't work offline at all. From 1.7.0 the plugin keeps your lists, shelves, books, their details and covers on the device. It asks Hardcover only what changed, and anything that hasn't changed opens from the device with no download at all.

This release is everything from the four 1.7.0 betas.

What's new

  • Every list and every shelf is kept on your device, including lists you follow and ones you've never opened.
    • Home checks them all inside the requests it was already making, and downloads only what changed.
    • A changed shelf or list downloads only which books it holds, plus any books the device doesn't have yet. Finishing a book no longer reloads your whole Read shelf.
    • Moving, rating or removing a book updates the saved shelf straight away.
  • Everything works offline: shelves, lists, Stats, and every book on your shelves and lists with its full synopsis. The old saved shelves kept only the first 600 characters.
  • Book details open instantly. A book you've opened before, that's out and complete, opens with no loading screen and no request for the book. The series is kept for a week and works offline. Books not out yet are checked again once a week.
  • Stats and For you reload only when something they depend on changed, or once a week.
  • Sharper, smaller covers.
    • Covers now come from Hardcover's image service at the size they're shown, instead of as uploaded. A cover uploaded at 1.9 MB now arrives as 30 KB in a list.
    • A book's details page gets its cover at exactly the size of its box, at higher JPEG quality.
    • Covers are drawn with e-ink dithering, so photos no longer turn into flat bands.
  • Settings › Download covers for offline keeps the cover of every book on your shelves and lists, so offline shelves aren't a wall of blank boxes.
    • It tells you how many covers and roughly how much before it starts.
    • It shows progress with a Stop button and keeps the device awake while it runs. Running it again picks up where it stopped.
  • Refresh in a shelf's or list's menu, and a reload icon on a book's details page, download them again in full if anything looks out of date.
  • A fresher look: rounded pill buttons, bold serif headings and figures, and solid progress bars.

Measured on a real account (9 lists, 4 shelves, 758 books)

1.6.3 1.7.0
Opening a shelf or list that hasn't changed the whole thing, every time no request
Read shelf (611 books) after one book changed 840 KB in 7 requests 51 KB, 1 request
A 25-book list that gained one book ~32 KB ~3 KB
Reopening a book you've opened before 4 requests, loading screen no request for the book
A cover in a list up to 1.9 MB 30 KB
Checking everything for changes — one request, ~1 KB
Offline shelves only, synopses cut short lists, shelves, details, covers you've kept

Good to know

  • Updating is automatic. The first Home open after updating saves your whole library in the background. That was about 1.1 MB in under half a minute on the account above. After that, only changes are downloaded.
  • Your saved shelves carry over from 1.6.3 the first time Home or a shelf opens.
  • Storage: everything is kept in a small database, hardcoversync_library.sqlite3 in KOReader's settings folder, using the SQLite KOReader already ships. The library above takes 1.5 MB. Covers you've seen get 30 MB of space, and covers you download for offline are kept separately. Signing out clears the library.
  • Known: reordering a ranked list on hardcover.app may not show up on the device until you tap Refresh.

What's Changed

Full Changelog: 1.6.3...v1.7.0

Don't miss a new HardcoverSync.koplugin release

NewReleases is sending notifications on new releases.