Readwyn 0.1.0

Download missing covers and metadata for many ebooks at once

Open “Library health” in the sidebar, choose Checks, and pick “Missing details”. The head of that check has a button, “Fetch missing details…”, which takes every book on the list, asks Open Library and Google Books about each one in turn, and collects the covers, descriptions, ISBNs, genres and page counts they find. Nothing is written to your library until you've ticked what you want in a review and saved it. For covers that exist but are too small, the next check down, “Small cover”, has its own button: “Find better covers…”.

If you came here from calibre, its manual starts the same kind of job from a right-click on the Edit metadata button and “Download metadata”. In Readwyn the list comes from the check: the books that lack a field you care about are already gathered there.

Which books the fetch takes

Missing details lists a book when it has no value in one of the “Fields that count”. Those are chips above the findings, and you choose them: cover, description, ISBN, publisher, published date, language, genre and page count. At first five are on (cover, description, ISBN, published date and language).

The fetch takes every finding of the check, including those past the first 500 that the panel shows. Books you've marked “Ignore for this book” stay out.

For each book it keeps only the fields that count and that were empty when the run started. A book missing its description and ISBN gets those two and nothing else: the title, the authors and the publisher you already have are never touched. A cover is fetched only for a book with no cover at all.

The sources give a cover, a description, an ISBN, genres and a page count. They don't give a publisher, a published date or a language, so a book that lacks only those stays on the list after the run. Fill those in by hand with “Edit details” on the finding.

While it runs

The run looks at one book at a time, and the top of the panel shows how far it has got, for example “Fetching missing details · 3 of 6 books” and “· now: Klara and the Sun”, with a progress bar and a “Stop” button. “Stop” ends the run after the book it is on, and you still get to review what it found.

It is slow on purpose. Open Library's API page limits an anonymous app to one request a second (three if the User-Agent gives the app's name and a contact email or phone number), and points anyone who wants the whole catalogue to its monthly data dumps instead of the API. Readwyn asks only about the books on your list, names itself and its website in the User-Agent of every request, and keeps to one request a second to Open Library. The notice says so: “Open Library asks for one request a second, so this takes a while.” While it runs, no other job can start on the same library.

Reviewing what came back

When the run ends, the notice sums it up, for instance “Found 6 missing details for 4 of 6 books”, with “Review details”. The review lists each book with its cover, title and authors, and under it each found field with a ticked checkbox, its label (“Cover”, “Description”, “ISBN”, “Genres” or “Page count”), the value and the source it came from. A found cover shows with its size.

Below that, “Left as they are” explains every book the run couldn't help: “No source knows this book.”, “No source has the missing fields.”, or “The sources did not answer: …” followed by the error.

Untick anything that looks wrong (a description of another edition, say), and the button counts down with you: “Save 5 details”. All the ticked fields are written in one step. If one of those books got a value in a field after the run started (you edited it in the meantime, say), that value stays, and the toast says how many fields kept theirs. The panel then loads again, and the books that are now complete leave the list.

Covers that are there but too small

“Small cover” lists books whose cover is under 870 pixels high, the height of the cover thumbnail on the book screen. A cover you chose yourself doesn't count. “Find better covers…” at the head of the check runs the same search for a taller cover on every finding, at the same pace, and when it ends, “Review covers” opens “Review the new covers”, with the old and new cover side by side and their sizes. “Replace 3 covers” stores the ones you ticked.

When every source answers and none has a taller cover, that book leaves the check until its cover changes, so the next run doesn't ask about it again. If a source failed for a book, it stays on the list for another try.

One book, or no panel

Both buttons need the Admin level; a Mac with Read access sees the findings without them (what the levels allow). For a single book, “Fetch metadata” on the finding or on the book screen opens Edit details with the fetched values, as described in fetching covers and descriptions. Fetching for a selection of books in the library grid isn't there: the sheet for many books edits shared fields, and of the fetches, the selection bar offers only “Find better covers…”.