Skip to content

bogdal/calibre-books

Repository files navigation

Calibre Books

Calibre web server based on the library data located on Dropbox.

https://requires.io/github/bogdal/calibre-books/requirements.svg?branch=master

Usage

1. Install the project in development mode

python setup.py develop

2. Set your SECRET_KEY in the environment variable

export SECRET_KEY=''

3. Prepare the database

python manage.py migrate
  1. Integration with dropbox service

Get your access token using the following command

python manage.py get_dropbox_token

Configure your dropbox application:

export DROPBOX_CONSUMER_KEY=''
export DROPBOX_CONSUMER_SECRET=''
export DROPBOX_ACCESS_TOKEN=''
export DROPBOX_ACCESS_TOKEN_SECRET=''

# default is standard calibre directory `CalibreLibrary`
export DROPBOX_CALIBRE_DIR=''

Go to the dropbox app console and set your webook url https://your-domain/dropbox-webhook/

5. Synchronize calibre data

python manage.py synchronize

Each time when you change something in the Calibre application, Dropbox will send callback to synchronize data.

About

Calibre web server in Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published