Quick and dirty implementation of the KOReader (https://github.com/koreader/koreader) sync service. I found stock implementation (https://github.com/koreader/koreader-sync-server) too heavy for my personal needs.
- Flask : http://flask.pocoo.org/
- pyOpenSSL: https://pyopenssl.org/en/stable/api.html
> pip install flask-restful
> pip install pyopenssl
> python3 koreader-flask.py --help
Do whatever you want to