calibre-web/README.md

86 lines
4.9 KiB
Markdown
Raw Normal View History

2017-03-19 09:22:21 -07:00
# About
2015-10-11 18:37:10 -07:00
Calibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing [Calibre](https://calibre-ebook.com) database.
2015-10-11 18:37:10 -07:00
2016-04-27 08:29:57 -07:00
*This software is a fork of [library](https://github.com/mutschler/calibreserver) and licensed under the GPL v3 License.*
2016-03-26 11:48:45 -07:00
![Main screen](https://github.com/janeczku/calibre-web/wiki/images/main_screen.png)
2015-10-11 18:42:36 -07:00
## Features
2015-10-11 18:37:10 -07:00
- Bootstrap 3 HTML5 interface
- full graphical setup
2019-10-08 10:48:26 -07:00
- User management with fine-grained per-user permissions
2015-10-11 18:37:10 -07:00
- Admin interface
- User Interface in dutch, english, french, german, hungarian, italian, japanese, khmer, polish, russian, simplified chinese, spanish, swedish, ukrainian
- OPDS feed for eBook reader apps
2015-10-11 18:37:10 -07:00
- Filter and search by titles, authors, tags, series and language
2019-10-08 10:48:26 -07:00
- Create a custom book collection (shelves)
2017-04-15 12:00:41 -07:00
- Support for editing eBook metadata and deleting eBooks from Calibre library
- Support for converting eBooks through Calibre binaries
2015-10-11 18:37:10 -07:00
- Restrict eBook download to logged-in users
2016-03-26 11:48:45 -07:00
- Support for public user registration
2015-10-11 18:42:36 -07:00
- Send eBooks to Kindle devices with the click of a button
- Support for reading eBooks directly in the browser (.txt, .epub, .pdf, .cbr, .cbt, .cbz)
- Upload new books in many formats
2016-04-27 08:37:19 -07:00
- Support for Calibre custom columns
- Ability to hide content based on categories for certain users
2019-10-08 10:48:26 -07:00
- Self-update capability
- "Magic Link" login to make it easy to log on eReaders
2015-10-11 18:42:36 -07:00
## Quick start
2018-10-03 05:32:49 -07:00
1. Install dependencies by running `pip install --target vendor -r requirements.txt`.
2. Execute the command: `python cps.py` (or `nohup python cps.py` - recommended if you want to exit the terminal window)
3. Point your browser to `http://localhost:8083` or `http://localhost:8083/opds` for the OPDS catalog
2019-02-09 22:54:57 -08:00
4. 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/Configuration#using-google-drive-integration)
5. Go to Login page
2015-10-11 18:37:10 -07:00
2019-02-03 08:29:27 -08:00
**Default admin login:**\
*Username:* admin\
2015-10-11 18:42:36 -07:00
*Password:* admin123
2018-10-03 05:32:49 -07:00
**Issues with Ubuntu:**
Please note that running the above install command can fail on some versions of Ubuntu, saying `"can't combine user with prefix"`. This is a [known bug](https://github.com/pypa/pip/issues/3826) and can be remedied by using the command `pip install --system --target vendor -r requirements.txt` instead.
2015-10-11 18:42:36 -07:00
## Requirements
Python 2.7+, python 3.x+
2015-10-11 19:37:39 -07:00
2019-02-13 10:55:56 -08:00
Optionally, to enable on-the-fly conversion from one ebook format to another when using the send-to-kindle feature, or during editing of ebooks metadata:
2019-02-09 22:54:57 -08:00
2019-10-08 10:48:26 -07: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-09 22:54:57 -08:00
\*** DEPRECATED \*** Support will be removed in future releases
2019-10-08 10:48:26 -07:00
[Download](http://www.amazon.com/gp/feature.html?docId=1000765211) Amazon's KindleGen tool for your platform and place the binary named `kindlegen` in the `vendor` folder.
2016-04-27 08:29:57 -07:00
## Docker Images
2016-04-27 08:29:57 -07:00
Pre-built Docker images are available in these Docker Hub repositories:
#### **Technosoft2000 - x64**
+ Docker Hub - [https://hub.docker.com/r/technosoft2000/calibre-web/](https://hub.docker.com/r/technosoft2000/calibre-web/)
+ Github - [https://github.com/Technosoft2000/docker-calibre-web](https://github.com/Technosoft2000/docker-calibre-web)
Includes the Calibre `ebook-convert` binary.
+ The "path to convertertool" should be set to `/opt/calibre/ebook-convert`
#### **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-07 22:58:47 -07:00
# Wiki
2019-10-08 10:48:26 -07:00
For further information, How To's and FAQ please check the [Wiki](https://github.com/janeczku/calibre-web/wiki)