Giter VIP home page Giter VIP logo

caliboat's Introduction

Caliboat: Dockerized Calibre for Linux

Recent versions of Debian no longer package stable versions of Calibre that run atop Python 2. Unfortunately, many Calibre plugins have not kept pace, including DeDRM. This simple Dockerfile starts with Ubuntu 18.04, installs Calibre, and retrieves DeDRM 6.8.0 for subsequent user configuration.

Overview

The build by default creates:

  • A Docker container image configured with a user/group combination configured with a UID/GID matching that of the user running the build on your host OS, with everything from the app/ subdirectory copied into /app in the container image.
  • A script called caliboat that will start containerized Calibre with volume mappings for your host user's:
    • X11 socket
    • Calibre library
    • Calibre config parent directory (by default ~/.config)
    • Kindle content (by default ~/My\ Kindle\ Content)

Calibre state will thus persist across executions. If you wish, you can then add an item to your desktop environment launcher to run caliboat more or less transparently.

Build

First, make sure you have a working Docker installation. Please do not ask me for help with this.

Second, add any files you might need inside the container (such as your Kindle for PC encryption key) to the app/ subdirectory.

Third, check VMAP in the Makefile for any necessary changes to volume mappings.

Then, if you are able to run docker as your non-root user, simply run:

make

Otherwise, run:

make sudo

Run

If all is successful, you should have a script called caliboat that will instantiate the caliboat container and by default run calibre inside the container. You may override this default by providing arguments to caliboat: for example, to start a shell in the container, run ./caliboat bash.

Once you have a running Dockerized Calibre, you will then need to configure DeDRM appropriately. Please refer to DeDRM's documentation for more information.

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.