https://github.com/bogdal/calibre-books
Calibre web server in Django
https://github.com/bogdal/calibre-books
Last synced: about 1 year ago
JSON representation
Calibre web server in Django
- Host: GitHub
- URL: https://github.com/bogdal/calibre-books
- Owner: bogdal
- License: bsd-2-clause
- Created: 2014-07-25T10:27:19.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-10-22T20:31:21.000Z (over 7 years ago)
- Last Synced: 2025-03-24T12:21:39.397Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 1.14 MB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 13
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Calibre Books
=============
Calibre web server based on the library data located on Dropbox.
.. image:: https://img.shields.io/circleci/project/bogdal/calibre-books/master.svg
:target: https://circleci.com/gh/bogdal/calibre-books/tree/master
.. image:: https://requires.io/github/bogdal/calibre-books/requirements.svg?branch=master
:target: https://requires.io/github/bogdal/calibre-books/requirements/?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
4. 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/`
.. _console: https://www.dropbox.com/developers/apps/info/
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.