GithubHelp home page GithubHelp logo

virdb / koreader-sync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from b1n4ryj4n/koreader-sync

0.0 0.0 0.0 33 KB

Simple implementation of the KOReader position sync server for self-hosting at home which has docker support for arm and amd64 :)

License: MIT License

Python 89.70% Dockerfile 10.30%

koreader-sync's Introduction

Koreader position sync server

Description

This is a simple implementation of the KOReader (https://github.com/koreader/koreader) position sync server for self-hosting at home which has docker support for arm and amd64 :) This is a fork of https://github.com/myelsukov/koreader-sync but with a complete code rewrite.

Dependencies

Install and run

> pip install -r requirements.txt

> uvicorn kosync:app --host 0.0.0.0 --port 8081

Or via Docker

> docker build --rm=true --tag=kosync:latest .

> docker-compose up -d

Environment Variables

  • RECEIVE_RANDOM_DEVICE_ID ("True"|"False")

Set it true to retrieve always a random device id to force a progress sync. This is usefull if you only sync your progress from one device and usually delete the *.sdr files with some cleaning tools.

Dockerhub

There is also a dockerhub image available if you are not able to build yourself the image.

For linux/amd64 you can use docker pull b1n4ryj4n/koreader-sync and for linux/arm docker pull b1n4ryj4n/koreader-sync:arm

Connection

Changelog

[0.0.3.1] - 2023-03-10

Added

  • Added /healtcheck function to be used i.e. with haproxy for L7 checks

[0.0.3] - 2022-03-20

Added

  • Added an environment variable option to receive always a random device id

[0.0.2] - 2022-02-21

Added

[0.0.1] - 2021-09-15

Added

  • First version

koreader-sync's People

Contributors

b1n4ryj4n avatar myelsukov avatar virdb avatar yshalsager avatar

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.