Kitaab

Figuring out how to Sync Annotations from Calibre Synced Books on a Kobo

kobo calibre python dev

published 2023-04-16 18:07

updated 2023-04-16 21:22

▕▜▕▐:

The problem is 2-fold:

  • The URL kobo reaches out to, is hard-coded in the function that does the sync
  • Calibre-Web doesn't have an API endpoint to handle annotations

Part 1

Some notes about the Kobo Sync API: https://github.com/janeczku/calibre-web/issues/2155#issuecomment-966546094 Specifically this endpoint: https://readingservices.kobo.com/ Patch request for changing endpoint: https://github.com/pgaskin/kobopatch-patches/issues/101

I'm not really sure how to approach reverse-engineering Kobo code to create a patch that overwrites the API endpoint.

Part 2

This whole thread goes into details: https://github.com/janeczku/calibre-web/issues/2155

Alternatives

KOReader & Plato both provide Wallabag(!) and annotation support, but sync support for annotations is still up in the air. Almost certainly this would mean configuring different server software, which not really that bad. I'm not sure how KoboPatch interacts with those though.