CLI tool to download a book from BiBox as a OCR PDF
Report Bug
·
Request Feature
Table of Contents
This cli script allows you to download and ocr books from BiBox.
You need valid login credentials as well as access to the books you want to download.
You can currently only run the script via Docker.
In the future there will be a described way to run it manually.
To find the book id, head over to https://bibox.schule and log in to your account. Now open the book you want to download.
The url in your browser should look something like: https://bibox2.westermann.de/book/5417/page/1
.
Here the book id is 5417
(between the "/book/" and "/page/" section of the url).
To run the image via Docker you can either do it directly via the Docker cli or the recommended way Docker compose.
There are two variants/tags available:
latest
: The latest ocr version Docker image (larger image than the non-ocr verison)latest-non-ocr
: The latest non-ocr version. This image has no support for pdf ocr and is therefore smaller than the ocr version (Currently not available)
To use the ocr version of the script with Docker Compose run the following command:
docker compose run --rm -Pit bibox-to-pdf {BOOK_ID}
To use the script with ocr via Docker run the following command:
docker run --rm -it -p 4200:4200 -v ./books:/app/output/books \
ghcr.io/lasser15/bibox-to-pdf:latest {book_id}
The manual setup is currently not supported. Please use Docker instead.
Distributed under the GPL 3.0 License. See LICENSE
for more information.