This repository hosts a simple PDF watermarking Web application.
The application is made of a static HTML page that POSTs to a bash CGI script.
The Web server is mini_httpd.
The POST arguments parsing is made through cgibashopts.
The watermarking itself depends on:
- imagemagick
- pdftk
- other common dependencies (see Dockerfile for details)
You can run the image I built:
docker run --rm -t -p 8080:80 pipoprods/watermark-pdf
You can build your own image and run it:
docker build . -t watermark-pdf
docker run --rm -t -p 8080:80 watermark-pdf