- Slice a milti-page PDF by pages into multiple PDFs.
- Inspect all PDFs and find keyword matches for configuration.
- (optionally) password protect and mail PDFs to given mail addresses
DockerOR- Local environment with:
- Put pdf file into
./pdfs/ - Create
config.json. Seeconfig.json.draftandconfig.tsfor definitions. Password is optional (not protected if missing). Mail is optional (uses defaultname.surname@domain)
docker build -t pdf-slice .docker run -it -v "$(pwd)"/pdfs:/app/pdfs pdf-slice node ./built/main.js sample.pdf
npm run build- manual run:
node ./built/main.js sample.pdf
Use at your own risk.
