2
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-13 19:10:30 +00:00
calibre-web/README.md

104 lines
7.3 KiB
Markdown
Raw Normal View History

2017-03-19 16:22:21 +00:00
# About
2015-10-12 01:37:10 +00:00
Calibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using a valid [Calibre](https://calibre-ebook.com) database.
2015-10-12 01:37:10 +00:00
2021-05-26 15:20:54 +00:00
[![GitHub License](https://img.shields.io/github/license/janeczku/calibre-web?style=flat-square)](https://github.com/janeczku/calibre-web/blob/master/LICENSE)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/w/janeczku/calibre-web?logo=github&style=flat-square&label=commits)]()
[![GitHub all releases](https://img.shields.io/github/downloads/janeczku/calibre-web/total?logo=github&style=flat-square)](https://github.com/janeczku/calibre-web/releases)
[![PyPI](https://img.shields.io/pypi/v/calibreweb?logo=pypi&logoColor=fff&style=flat-square)](https://pypi.org/project/calibreweb/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/calibreweb?logo=pypi&logoColor=fff&style=flat-square)](https://pypi.org/project/calibreweb/)
[![Discord](https://img.shields.io/discord/838810113564344381?label=Discord&logo=discord&style=flat-square)](https://discord.gg/h2VsJ2NEfB)
2021-05-20 20:48:51 +00:00
2016-04-27 15:29:57 +00:00
*This software is a fork of [library](https://github.com/mutschler/calibreserver) and licensed under the GPL v3 License.*
2016-03-26 18:48:45 +00:00
![Main screen](https://github.com/janeczku/calibre-web/wiki/images/main_screen.png)
2015-10-12 01:42:36 +00:00
## Features
2015-10-12 01:37:10 +00:00
- Bootstrap 3 HTML5 interface
- full graphical setup
2019-10-08 17:48:26 +00:00
- User management with fine-grained per-user permissions
2015-10-12 01:37:10 +00:00
- Admin interface
- User Interface in brazilian, czech, dutch, english, finnish, french, galician, german, greek, hungarian, indonesian, italian, japanese, khmer, korean, norwegian, polish, russian, simplified and traditional chinese, spanish, swedish, turkish, ukrainian, vietnamese
- OPDS feed for eBook reader apps
2022-05-01 09:13:36 +00:00
- Filter and search by titles, authors, tags, series, book format and language
2019-10-08 17:48:26 +00:00
- Create a custom book collection (shelves)
2017-04-15 19:00:41 +00:00
- Support for editing eBook metadata and deleting eBooks from Calibre library
2022-05-01 09:13:36 +00:00
- Support for downloading eBook metadata from various sources, sources can be extended via external plugins
- Support for converting eBooks through Calibre binaries
2015-10-12 01:37:10 +00:00
- Restrict eBook download to logged-in users
2016-03-26 18:48:45 +00:00
- Support for public user registration
- Send eBooks to E-Readers with the click of a button
2020-03-14 10:22:27 +00:00
- Sync your Kobo devices through Calibre-Web with your Calibre library
- Support for reading eBooks directly in the browser (.txt, .epub, .pdf, .cbr, .cbt, .cbz, .djvu)
- Upload new books in many formats, including audio formats (.mp3, .m4a, .m4b)
- Support for Calibre Custom Columns
2020-03-14 10:22:27 +00:00
- Ability to hide content based on categories and Custom Column content per user
2019-10-08 17:48:26 +00:00
- Self-update capability
- "Magic Link" login to make it easy to log on eReaders
- Login via LDAP, google/github oauth and via proxy authentication
2015-10-12 01:42:36 +00:00
2021-10-31 10:56:38 +00:00
## Installation
2015-10-12 01:42:36 +00:00
2021-10-31 10:56:38 +00:00
#### Installation via pip (recommended)
1. To avoid problems with already installed python dependencies, it's recommended to create a virtual environment for Calibre-Web
2. Install Calibre-Web via pip with the command `pip install calibreweb` (Depending on your OS and or distro the command could also be `pip3`).
3. Optional features can also be installed via pip, please refer to [this page](https://github.com/janeczku/calibre-web/wiki/Dependencies-in-Calibre-Web-Linux-and-Windows) for details
2022-03-21 17:50:02 +00:00
4. Calibre-Web can be started afterwards by typing `cps`
2021-05-22 17:52:20 +00:00
In the Wiki there are also examples for: a [manual installation](https://github.com/janeczku/calibre-web/wiki/Manual-installation), [installation on Linux Mint](https://github.com/janeczku/calibre-web/wiki/How-To:Install-Calibre-Web-in-Linux-Mint-19-or-20), [installation on a Cloud Provider](https://github.com/janeczku/calibre-web/wiki/How-To:-Install-Calibre-Web-on-a-Cloud-Provider).
2021-10-31 10:56:38 +00:00
## Quick start
2022-04-04 12:37:39 +00:00
Point your browser to `http://localhost:8083` or `http://localhost:8083/opds` for the OPDS catalog \
Login with default admin login \
If you don't have a Calibre database already, this [database](https://github.com/janeczku/calibre-web/blob/master/library/metadata.db) can be used. **IMPORTATNT** Please move the database out of the calibre-web folder structure, as it will be overwritten during update. \
Set `Location of Calibre database` to the path of the folder where your Calibre library (metadata.db) lives, push "submit" button. \
Optionally a Google Drive can be used to host the calibre library [-> Using Google Drive integration](https://github.com/janeczku/calibre-web/wiki/G-Drive-Setup#using-google-drive-integration) \
2022-04-04 12:37:39 +00:00
Afterwards you can configure your Calibre-Web instance ([Basic Configuration](https://github.com/janeczku/calibre-web/wiki/Configuration#basic-configuration) and [UI Configuration](https://github.com/janeczku/calibre-web/wiki/Configuration#ui-configuration) on admin page)
2015-10-12 01:37:10 +00:00
2021-10-31 10:56:38 +00:00
#### Default admin login:
2019-02-03 16:29:27 +00:00
*Username:* admin\
2015-10-12 01:42:36 +00:00
*Password:* admin123
2018-10-03 12:32:49 +00:00
2015-10-12 01:42:36 +00:00
## Requirements
2021-08-29 12:36:05 +00:00
python 3.5+
2015-10-12 02:37:39 +00:00
[Download](https://imagemagick.org/script/download.php) Imagemagick to extract covers from epubs. On Windows the additional installation of [ghostscript](https://ghostscript.com/releases/gsdnld.html) might be necessary to extract covers from pdf files. On Linux Imagemagick and Ghostscript can often be installed using the system package manager.
Optionally, to enable on-the-fly conversion from one ebook format to another when using the send-to-ereader feature, or during editing of ebooks metadata:
2019-02-10 06:54:57 +00:00
2019-10-08 17:48:26 +00:00
[Download and install](https://calibre-ebook.com/download) the Calibre desktop program for your platform and enter the folder including program name (normally /opt/calibre/ebook-convert, or C:\Program Files\calibre\ebook-convert.exe) in the field "calibre's converter tool" on the setup page.
2019-02-10 06:54:57 +00:00
2022-04-04 12:37:39 +00:00
[Download](https://github.com/pgaskin/kepubify/releases/latest) Kepubify tool for your platform and place the binary starting with `kepubify` in Linux: `/opt/kepubify` Windows: `C:\Program Files\kepubify`.
2016-04-27 15:29:57 +00:00
## Docker Images
2016-04-27 15:29:57 +00:00
A pre-built Docker image is available in these Docker Hub repository (maintained by the LinuxServer team):
#### **LinuxServer - x64, armhf, aarch64**
+ Docker Hub - [https://hub.docker.com/r/linuxserver/calibre-web](https://hub.docker.com/r/linuxserver/calibre-web)
+ Github - [https://github.com/linuxserver/docker-calibre-web](https://github.com/linuxserver/docker-calibre-web)
+ Github - (Optional Calibre layer) - [https://github.com/linuxserver/docker-calibre-web/tree/calibre](https://github.com/linuxserver/docker-calibre-web/tree/calibre)
This image has the option to pull in an extra docker manifest layer to include the Calibre `ebook-convert` binary. Just include the environmental variable `DOCKER_MODS=linuxserver/calibre-web:calibre` in your docker run/docker compose file. **(x64 only)**
If you do not need this functionality then this can be omitted, keeping the image as lightweight as possible.
Both the Calibre-Web and Calibre-Mod images are rebuilt automatically on new releases of Calibre-Web and Calibre respectively, and on updates to any included base image packages on a weekly basis if required.
+ The "path to convertertool" should be set to `/usr/bin/ebook-convert`
+ The "path to unrar" should be set to `/usr/bin/unrar`
2016-10-08 05:58:47 +00:00
2021-05-22 07:57:47 +00:00
# Contact
Just reach us out on [Discord](https://discord.gg/h2VsJ2NEfB)
2019-10-08 17:48:26 +00:00
For further information, How To's and FAQ please check the [Wiki](https://github.com/janeczku/calibre-web/wiki)
2020-09-20 08:10:58 +00:00
# Contributing to Calibre-Web
Please have a look at our [Contributing Guidelines](https://github.com/janeczku/calibre-web/blob/master/CONTRIBUTING.md)