1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-07-07 20:41:36 +02:00

Calibre: Added Web Version

This commit is contained in:
2026-07-03 00:59:51 +02:00
parent 547f60649e
commit ce92534611
2 changed files with 102 additions and 27 deletions

View File

@@ -1,26 +1,34 @@
# calibre # calibre
[calibre](https://calibre-ebook.com/) is a cross-platform, free and open-source [calibre](https://calibre-ebook.com/) is a cross-platform, free and open-source software suite for
software suite for [e-book](/wiki/e-book.md) management. [e-book](/wiki/e-book.md) management.
It supports various formats as well as conversion between them. It supports various formats as well as conversion between them.
## Setup
The web version of calibre can be setup via [Docker](/wiki/docker.md) with the
[linuxserver image](/wiki/docker/linuxserver_-_calibre-web.md).
Additionally, a desktop version is available for [Windows](/wiki/windows.md), macOS and
[Linux](/wiki/linux.md) on the [official website](https://calibre-ebook.com/download).
For many [Linux distributions](/wiki/linux.md#distributions) there is also a package with the
package `calibre` or a similar name, which contains the desktop version as well.
## Usage ## Usage
This section addresses various features of calibre. This section addresses various features of calibre.
## Adding a Plugin ## Adding a Plugin
A plugin by a third party can be added by selecting a `.zip` archive usually A plugin by a third party can be added by selecting a `.zip` archive usually named
named `<plugin name>_plugin.zip` under Preferences, Plugins, Load plugin from `<plugin name>_plugin.zip` under Preferences, Plugins, Load plugin from file.
file.
## Exporting Books ## Exporting Books
Books can be exported by selecting them and pressing `Save to disk`. Books can be exported by selecting them and pressing `Save to disk`.
After selecting a path the books will be saved there. After selecting a path the books will be saved there.
Preferences for this can be set under `Preferences` and `Saving books to disk`. Preferences for this can be set under `Preferences` and `Saving books to disk`.
Especially the creation of separate image and metadata files are often of Especially the creation of separate image and metadata files are often of interest.
interest.
The template defines the path structure of the saved books. The template defines the path structure of the saved books.
A simple template that will create the following structure is A simple template that will create the following structure is
@@ -39,28 +47,24 @@ All others are used to ensure a lowercase directory and file name without specia
## Changing the Default Author and Title Sort ## Changing the Default Author and Title Sort
Under `Preferences` and `Tweaks` the corresponding settings to change the title Under `Preferences` and `Tweaks` the corresponding settings to change the title and author sort name
and author sort name can be found. can be found.
`Author sort name algorithm` defines the author sort name. `Author sort name algorithm` defines the author sort name.
By setting `author_sort_copy_method = 'copy'` the author sort name is the same By setting `author_sort_copy_method = 'copy'` the author sort name is the same as the author name.
as the author name. After this setting has been changed right click `Authors` in the navigation bar on the left side and
After this setting has been changed right click `Authors` in the navigation bar press `Manage Authors`.
on the left side and press `Manage Authors`.
Then press `Recalculate all author sort values` for the change to take effect. Then press `Recalculate all author sort values` for the change to take effect.
`Control sorting of titles and series in the library display` defines the sort `Control sorting of titles and series in the library display` defines the sort titles.
titles. Setting `title_series_sorting = 'strictly_alphabetic'` will use the standard title and won't make
Setting `title_series_sorting = 'strictly_alphabetic'` will use the standard articles of titles suffixes.
title and wont make articles of titles suffixes. Afterward select all books, right-click and select `Edit metadata in bulk` under `Edit metadata`.
Afterward select all books, right-click and select `Edit metadata in bulk`
under `Edit metadata`.
Then check the box `update title sort` and press `Ok` to update all sort titles. Then check the box `update title sort` and press `Ok` to update all sort titles.
This entry is based on two posts on mobileread one regarding the This entry is based on two posts on mobileread one regarding the
[sort author name](https://www.mobileread.com/forums/showthread.php?t=314663) [sort author name](https://www.mobileread.com/forums/showthread.php?t=314663) and the other
and the other regarding the regarding the [sort title](https://www.mobileread.com/forums/showthread.php?t=249870).
[sort title](https://www.mobileread.com/forums/showthread.php?t=249870).
## Changing the Cover of a Book ## Changing the Cover of a Book
@@ -86,8 +90,8 @@ Alternatively only specific formats of the books can be send to the device by se
`Send specific format to` and `Main memory` under the `Send to device` menu. `Send specific format to` and `Main memory` under the `Send to device` menu.
If there are books that contain series metadata make sure to disconnect the e-reader once and If there are books that contain series metadata make sure to disconnect the e-reader once and
reconnect it. reconnect it.
Afterward select `Update cached metadata on device` under `Device` to update the metadata Afterward select `Update cached metadata on device` under `Device` to update the metadata including
including the series. the series.
Finally, disconnect the device. Finally, disconnect the device.
## KEPUB Format ## KEPUB Format
@@ -96,8 +100,7 @@ The `.kepub` format is a format that is similar to a normal epub but has some pe
improvements for Kobo devices. improvements for Kobo devices.
It is recommended to convert `.mobi` and `.epub` files to a `.kepub` file before It is recommended to convert `.mobi` and `.epub` files to a `.kepub` file before
[transfering it to a Kobo device](#transfer-books-to-a-device). [transfering it to a Kobo device](#transfer-books-to-a-device).
For this the Plugin `KePub Output` by Joel Goguen [can be added](#adding-a-plugin) can be For this the Plugin `KePub Output` by Joel Goguen [can be added](#adding-a-plugin) can be installed.
installed.
Afterward books can be converted the normal way, but now the output format `.kepub` is available. Afterward books can be converted the normal way, but now the output format `.kepub` is available.
Additionally, the `Kobo Touch Extended` plugin is recommended to use since it makes sending books Additionally, the `Kobo Touch Extended` plugin is recommended to use since it makes sending books
to Kobo e-readers easier. to Kobo e-readers easier.

View File

@@ -0,0 +1,72 @@
# linuxserver calibre-web
This is a [Docker](/wiki/docker.md) container for a [Calibre-Web](/wiki/calibre.md) server.
The official container and documentation was made by
[linuxserver](https://github.com/linuxserver/docker-calibre-web).
This docker-rebuild is made up by a `docker-compose.yml` file.
## Set-up
Create the files `rebuild.sh` and `docker-compose.yml` at the same place.
Change the settings according to your needs and run `./rebuild.sh` afterward.
### Environment-variables
Set the following environment-variables in the `environment:` section.
| Name | Usage | Default |
| ---- | ----- | ------- |
| `PUID` | User ID of the host user | |
| `PGID` | Group ID of the host user | |
| `TZ` | Timezone | |
### Volumes
Set the following volumes in the `volumes:` section of the docker-compose file.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | --------------- | ----------- |
| `config` | `/config` | Calibre-Web configuration |
| `books` | `/books` | Calibre library |
### Ports
Set the following ports in the `ports:` section.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | -------- | ----------- |
| `8083` | `8083` | TCP | WebUI |
### rebuild.sh
```sh
#!/bin/sh
docker-compose down
docker pull lscr.io/linuxserver/calibre-web:latest
docker-compose up -d
```
### docker-compose.yml
```yml
version: "3"
services:
calibre-web:
image: lscr.io/linuxserver/calibre-web:latest
container_name: calibre-web
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- config:/config
- books:/books
ports:
- "8083:8083"
restart: unless-stopped
volumes:
config:
books:
```