GithubHelp home page GithubHelp logo

koreader-calibre-web-sync's Introduction

KOReader Calibre-Web Sync

Synchronize reader data from KOReader to Calibre-Web.

Setup

The application is distributed as docker image:

docker run --restart=always -d -p 5000:5000 \
        --name=koreader \
        vincentbitter/koreader-calibre-web-sync:latest

Notes:

  • This application was only tested with default authentication, so not with LDAP, OAuth or Reverse Proxy Authentication. As long as the normal login form is used, it should work, but especially 2FA is not supported.
  • Make sure "Convert non-English characters in title and author while saving to disk" is disabled in the Feature Configuration section of the Basic Configuration page of Calibre-Web. Otherwise, different hashes might be calculated for books making it impossible to match.
  • Use "Filename" as Document matching method in KOReader.

How it works

Within KOReader, you can specify a custom sync server to synchronize reading progress. KOReader Calibre-Web Sync functions as a KOReader reading progress server. If the progress is 100% (last page is visited), it will mark the book as "Read" in Calibre-Web by logging in as a user via the web application.

How to use

After the application is setup, make sure you have the correct URL to the docker container, that can be accessed from the e-reader. This can be a local address on the network (e.g. http://10.0.0.100:5000) or a public URL (https://stats.mykoreader.com).

Within KOReader, open a book and open the Tools menu and go to Progress Sync. Use the URL of your KOReader Calibre-Web Sync installation as Custom sync server (e.g. https://stats.mykoreader.com). Now Login is a bit different than normal, because you need to provide the username, password and URL of Calibre-Web. Therefore click "Register / Login" in the menu and use the following format as username: <username>:<password>@<url>. So if your Calibre-Web is hosted on https://my.calibre-web.com where you login with username vincent and password secret, then you need to use vincent:secret@https://my.calibre-web.com as your username. The password is ignored, so you can fill in a random value. Click on the Login button to validate your credentials.

If you change your Calibre-Web credentials, make sure you Logout and Login again to update the credentials.

koreader-calibre-web-sync's People

Contributors

vincentbitter avatar whimsical-c4lic0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

koreader-calibre-web-sync's Issues

Login only works with reverse proxy

I got an error like "unknown server error" or something like that in koreader. The docker logs showed nothing.

For troubleshooting I tried curl before/after setting up a reverse proxy to point to the container.
For the tests I urlencoded the username part.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.