epub2pdf
convert epub to pdf
Feature
v0.0.3(latest)
- -o=/path specify output path
- -f=/path specify input path
- -r recursive directory
- -v output details
- -m output debug details
- -j=N allow N jobs at once
- -d delete source file after convert successfully
- -t specifies the timeout for each conversion, the unit of time is seconds, default is no limit.
- repair the recursive directory error
- cpu and memory limit by cgroup
v0.0.2
- -o=/path specify output path
- -f=/path specify input path
- -r recursive directory
- -v output details
- -m output debug details
- -j=N allow N jobs at once
- -d delete source file
- -t specifies the timeout for each conversion.
v0.0.1(discard)
Supported Convert
- epub to pdf
Required
- need to install
calibre - add
calibreandebook-converttoPATHenvironment variable
linux user can run like this to install calibre
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
windows and macOS user can download from Release Assets
Quick start
Option 1: Download binary
Option 2: Build from source code
Required
Linux
make build
cd bin
./epub2pdf convert /path/to/epub_directory
Windows
make.exe build_win
cd bin
epub2pdf.exe convert /path/to/epub_directory
MacOS
make build_darwin
cd bin
epub2pdf convert /path/to/epub_directory
Output The output default is in source directory
License
epub2pdf is released under the Apache 2.0 license. See LICENSE