Docker Website (11) Calibre Web

0, Preface

I have experienced e-books on various platforms before, but those are all online novels, and the pages are full of advertisements floating around. So my first impression of reading online was not good. Later, I came into contact with the Kindle. The reading experience of the black and white ink screen is actually quite similar to that of a paper book, but the biggest use after buying it is to cover instant noodles (laughs).

After entering high school, I gradually had no time to pick and buy books, let alone read. So, I decided to use Docker to build an online library myself.

1 Introduction

Caliber-web is the web version of Caliber. It provides a user-friendly external web page display form, which can display, manage and browse your own books online, and let the books follow you.
—— Zhihu

Caliber is a multi-platform e-book software that requires an x64 system on Windows. Caliber-Web startup requires a database file metadata.db, which can be copied from the computer version of Caliber.

There are two most popular Docker images of Caliber:

Official image (continuously updated): linuxserver/calibre-web
Unofficial (stop updating, but the function is powerful enough): technosoft2000/calibre-web

If you choose the image of technosoft2000/calibre-web, the above database file will be automatically generated during initialization, and there is no need to copy it from the computer. Since my computer is x86, take this image as an example.

2. Installation

2.1, command line

implement:

Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.

The installation is now complete.

2.2, Pagoda

Pull the image:

Pull image

Add container:

Add container

Notice:

  • Be sure to map the /books/ and /config/ directories of the container, otherwise the book and configuration will be gone after restarting.
  • The corresponding directory of the host machine must be set with 777 permissions, otherwise it is easy to read but not write

3. Use

Tips:
After the container is added, the data needs to be pulled from GitHub. The speed of the domestic machine is very slow, so it needs to wait for more than 20 minutes. During this period, the anti-generation website is opened with 502 Bad Gateway.

Wait for a line to appear in the container log:

Text
1
[INFO] Launching Caliber-Web...

It means the startup is successful.

3.1, add database file

Open the computer version, check the library directory, take D:\books as an example:

Book Library Catalog

Then the database file location is D:\books\metadata.db. Upload it to the corresponding books directory of the host.

3.2. Initialization

Visit the website, fill in /books for the database path, and keep the others as default, just save it.

Initialization

The account password is admin and 123456:

Initial password

Click Admin to modify to Chinese

Modify language

For other settings (such as modifying the administrator password, allowing anonymous access, allowing registration, and setting up the mail server), the setting items are all in Chinese, so I won’t repeat them here.

3.3. Upload

exist

Admin Privileges->Edit Basic Configuration->Basic Configuration

Basic Configuration

Enable upload, save:

Enable Upload

to upload.

4, e-book download

hint:
Don't search on Baidu/Google, it's hard to find.

The vast majority of searched on Baidu are paid reading, or advertisements. On Google, due to the DMCA in the United States, it is almost impossible to find pirated resources.

Recommend a platform: Z-Library.

Z-Library is a shadow library and file sharing project where users can download journal articles and books of all types.
According to Z-Library, as of June 12, 2022, it contains a total of 10,456,034 books and 84,837,646 articles.

  • Wikipedia

Official website:

Z-Library
https://z-lib.org

Most of the domain names need to go out of the wall, refer to the article

Linux server to build VPN
https://blog.tsinbei.com/archives/181/

By default, an IP can only download 5 books in 24 hours, and it can be increased to ten books by registering with an email address. Therefore, you can change several IPs and register several accounts respectively. In this way, you can download the node number*10 book in one day.

Note: Sponsor Z-Library if you have the ability. The minimum sponsorship is $1 to upgrade your membership and unlock a certain amount of download limit. However, WeChat and Alipay are not supported for the time being, and foreign PayPal and other platforms can be used to pay.

Docker Website (11) Calibre Web

https://blog.tsinbei.com/en/archives/646/

Author
Hsukqi Lee
Posted on

2022-12-06

Edited on

2022-12-06

Licensed under

CC BY-NC-ND 4.0

Comments

Name
Mail
Site
None yet