Public | Automated Build

Last pushed: 4 months ago
Short Description
Run pdf2htmlEX in a Docker container.
Full Description

pdf2htmlEX in Docker

A python web service that runs pdf2htmlEX on a URL.

Usage:

$ docker run -ti -p 5000:5000 ukwa/pdf2htmlex

This runs an instance on port 5000 with a terminal connection so you can Ctrl-C to stop it.

Once running, you can use it as follows. To convert a whole PDF:

$ curl http://localhost:5000/convert?url=http://stlab.adobe.com/wiki/images/d/d3/Test.pdf

There are also optional parameters: first_page (defaults to 1) and last_page

TODO

  • Suggest we switch to nigit and reduce the code we have to use.

Change Log

  • 1.0.1:
    • Switch to gunicorn following instability in production.
Docker Pull Command
Owner
ukwa
Source Repository

Comments (0)