Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 801 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 801 Bytes

epubUtils

This is a rough tool helping me converting all sorts of PDFs to EPUBs.

Paths with spaces may not work at the moment :-(

Available for macOS, other systems may need their corresponding docpub distribution from PDFTron.

Usage

Firstly, find a proper location for all the stuff, and structure the directories like this:

somewhere
├── PDF Archives
└── Pending

Then add the root directory to environmental variable $readerPath, like:

export readerPath=somewhere

Finally, put your PDFs under "Pending" folder, and run:

./epub.sh

Dependencies

This program needs python3 and Docker to run.
Thanks for pdf2epubEX for most of the jobs, and PDFTron for the handy docpub utility generating index file.