-
single work can be exported via web app
-
all works in tag
- login and get session token from
/auth/token
- run script
python3 export_works.py --url <url_to_web_app>
- login and get session token from
- for single file
ebook-convert ebook/index.html ebook.azw3
- for many files
python3 ebook_convert.py --path /path/to/ebooks/dir
run calibre in containerized environment
- Create core files:
- Dockerfile
FROM ubuntu:jammy
- docker-compose.yml
services:
calibre:
container_name: calibre-ubuntu
build: .
restart: "no"
volumes:
- <path_to_your_data_directory>:/home
- build docker image
docker compose build
- start + bash into container
docker compose run --name calibre calibre bash
- setup calibre
sudo apt update
sudo apt install calibre
- bash into already created container
docker container start -i <container name, example calibre_run_ba7c7673c2e6>
- disable network access for container
docker network disconnect calibre_default <container name, example calibre_run_ba7c7673c2e6>