Sign inSign up

ukwa/pdf2htmlex

By ukwa

•Updated over 9 years ago

Run pdf2htmlEX in a Docker container.

Image
Integration & delivery
Content management system
2

4.7K

ukwa/pdf2htmlex repository overview

⁠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.

Tag summary

Content type

Image

Digest

Size

173.3 MB

Last updated

over 9 years ago

docker pull ukwa/pdf2htmlex