Calibre On Raspberry Pi



  1. Install Calibre On Raspberry Pi
  2. Calibre Raspberry Pi Server
  3. Calibre Raspberry Pi Docker
  4. Raspberry Pi Ebook Server

Welcome back, calibre users. It has been a year since calibre4.0. The two headline features are Highlighting support in the calibreE-book viewer and that calibre has now moved to Python 3.

There has been a lot of work on the calibre E-book viewer. Itnow supports Highlighting. The highlights can be colors, underlines,strikethrough, etc. and have added notes. All highlights can be both stored inEPUB files for easy sharing and centrally in the calibre library for easy browsing.Additionally, the E-book viewer now supports both vertical and right-to-left text.

calibre has moved to using Python 3. This is because Python 2was end-of-lifed this year. This should be completely transparent to calibre users,the only caveat being that some third party calibre plugins have not yet been portedto Python 3 and therefore will not work in calibre 5. For status on the variousplugin ports, see here. This effort involved porting half-a-millionlines of Python code and tens-of-thousands of lines of extension code to Python 3. Thiswould not have been possible without the help of Eli Schwartz and Flaviu Tamas.

  • Highlighting in the E-book viewer

    You can now highlight text in the E-book viewer. Highlights can be created in many styles, with associated notes. By default, when highlighting EPUB books, the highlights are stored in the book file itself for easy sharing. They are also stored centrally in the calibre library and can be browsed using the Browse annotations tool that you can access by right clicking the View button.

    Highlights can be created by simply selecting text and clicking the Highlight selection button.

    Highlighting even works using the in-browser viewer that is part of the calibre Content server. You can choose to have highlights created there sync automatically with highlights created in the calibre E-book viewer via a setting in the Miscellaneous section of the E-book viewer preferences.

  • Dark mode support

    calibre now fully supports dark mode throughout, in the main interface, the E-book viewer, the E-book editor and even the Content server. On Windows and macOS dark mode is activated automatically based on operating system settings. On Linux you have to set the CALIBRE_USE_DARK_PALETTE=1 environment variable.

  • Enhanced search in the E-book viewer

    The E-book viewer now supports enhanced searches with whole word, regular expressions, etc. Search results are displayed grouped by chapter. There is a button that takes you back to where in the book you were after you are done searching.

  • Backwards incompatibilities

    There are a few minor backwards incompatibilities to be aware of in calibre 5

    • Because calibre has now moved to Python 3, some third party plugins will no longer work, until they are also ported to Python 3. For status on the plugin porting effort, see here.
    • Because of the support for library wide annotations, the database format was slightly changed. While calibre 4.23 is able to open and operate with calibre 5 databases, older versions of calibre may have trouble.

This is an appropriate time to throw out a big thank you to the calibrecommunity who have contributed selflessly of their energy and enthusiasm —without which many of the features above would never have seen the light ofday.

Raspberry

The Dreamcast game Soul Calibur running on the new Raspberry Pi 3. As you can see, RPi3 takes the game with smooth moves and a fast framerate at last!!! Raspberry Pi 400 Personal Computer Kit. Raspberry Pi 400 is your complete personal computer, built into a compact keyboard. Featuring a quad-core 64-bit processor, 4GB of RAM, wireless networking, dual-display output, and 4K video playback, as well as a 40-pin GPIO header, it's the most powerful and easy-to-use Raspberry Pi computer yet. Please note: Under Covid Level 1 we are accepting drop-offs at our stores. We recommend everyone should pre-book service jobs online as it's easier and faster. Service work may be delayed for 10-15 days due to the COVID-19 impact on the global supply chain.

Note that some of these features were actually introduced during thelifetime of the 4.x series. This document describes new features as comparedto 4.0

See what was new in previous major calibre releases:4.0, 3.0, 2.0, 1.0, 0.9, 0.8, 0.7.

Calibre ebook server

Documenting the steps I took to get a publically accessible calibre server up and running alongside an existing Nginx setup and HTTPS.

Install calibre. The newest version of calibre doesn’t seem to be available in the repos. TODO should try building newer version from source

Create a calibre library.

Make sure everything works

Try loading up http://127.0.0.1:8080

Calibre on raspberry pi

(Optional) Create a systemd service unit file to manage the server. Create file at /etc/systemd/system/calibre-server.service with the following

Install Calibre On Raspberry Pi

Calibre

Try starting up the server

We want to be able to access the Calibre server via something like http://ebooks.myserver.com. Assuming DNS is already set up properly. TODO maybe a separate post on Google Domains + Nginx + LetsEncrypt

Calibre Raspberry Pi Server

Add a new site to Nginx by creating a new file at /etc/nginx/sites-available/ebooks.myserver.com

Calibre Raspberry Pi Docker

Enable site Drivers dynex modems.

Raspberry Pi Ebook Server

Get certs from LetsEncrypt. The app should ask you if you want to change the configuration to force HTTPS. That’ll update the Nginx config and enable HTTPS.





Comments are closed.