Calibre-WebΒΆ
uv venv calibre-web-venv
source calibre-web-venv/bin/activate
uv pip install calibreweb
Install optional features:
vim calibre-web-venv/requirements.txt
# For example
# metadata extraction
rarfile>=3.2,<5.0
scholarly>=1.2.0,<1.8
markdown2>=2.0.0,<2.5.0
html2text>=2020.1.16,<2024.2.26
python-dateutil>=2.1,<2.10.0
beautifulsoup4>=4.0.1,<4.13.0
faust-cchardet>=2.1.18,<2.1.20
py7zr>=0.15.0,<0.21.0
mutagen>=1.40.0,<1.50.0
pycountry>=20.0.0,<25.0.0
cps
As a service:
sudo vim /lib/systemd/system/calibre-web.service
[Unit]
Description=Calibre-Web
After=network.target
[Service]
User=root
Group=root
ExecStart=/home/scillidan/calibre-web-venv/bin/cps
WorkingDirectory=/home/scillidan/calibre-web-venv
Restart=on-abnormal
[Install]
WantedBy=multi-user.target
sudo systemctl enable --now calibre-web
Visit
http://<your_host>:8083
Login with
admin
,admin123
Calibre β Add books. You should get
Calibre Library\
now.Calibre-Web β Admin β Edit Cabibre Database Configuration β Select folder contains the
metadata.db
.
mkdir calibre-web
cd calibre-web
vim docker-compose.yml
Copy from here. And add volumes as books storage liked:
mkdir -p /mnt/nvme/share/calibre/library
vim docker-compose.yml
volumes:
- ./data:/config
- /mnt/nvme/share/calibre/library:/books
sudo docker compose up -d