Skip to content

ChanMo/docker-poppler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Poppler

A simple http api service for poppler, include pdftohtml, pdftotext, pdfinfo, pdftoppm, pdftocairo

For more tools to help you manage and use your documents, visit Awesome Document

Need more format converting tools ?

Usage

pull the docker image

docker pull chanmo/poppler

start a http server

docker run --rm -p 5000:5000 chanmo/poppler

convert a pdf file to the html format

http -f POST :5000/pdftohtml file@/path/to/file.pdf -o demo.html

convert a pdf file to the text string

http -f POST :5000/pdftotext file@/path/to/file.pdf

convert a pdf file to multiple images

http -f POST :5000/pdftocairo file@/path/to/file.pdf

get a pdf file information

http -f POST :5000/pdfinfo file@/path/to/file.pdf

TODO

  • add pdfgrep
  • add params

About

A simple RESTFul API service for poppler

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published