Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.
/ Convert Public archive

Convert documents to a pdf. Convert a documents first page to an image.

Notifications You must be signed in to change notification settings

EBOOST/Convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9adf098 · Jul 13, 2016

History

10 Commits
Jul 13, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Apr 15, 2016
Mar 25, 2016
Mar 25, 2016
Mar 25, 2016
Jul 13, 2016
Mar 25, 2016
Jul 13, 2016
Mar 25, 2016

Repository files navigation

Eboost Convert

Convert any document to pdf or image using a docker webservice.

Docker

Build image

$ docker build -t convert .

Run image

$ docker run -d -p 3000:3000 --name convert convert
Turn on debugging
$ docker run -d -p 3000:3000 -e "APP_ENV=local" -e "APP_DEBUG=true" --name convert convert

Usage

Post the file you want to convert and get the converted file in return. The url for the convert webservice is http://dockerip/convert/{new-file-format}

Creating a pdf from docx
$ curl --form [email protected] http://192.168.99.100:3000/convert/pdf > newfile.pdf
Creating a jpg from docx
$ curl --form [email protected] http://192.168.99.100:3000/convert/jpg > newfile.jpg

About

Convert documents to a pdf. Convert a documents first page to an image.

Resources

Stars

Watchers

Forks

Packages

No packages published