Skip to content

sfoxdev/docker-unoconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unoconv with NodeJS

Unoconv is a simple tool for converting any type of files to PDF documents

Docker Build Status Docker Build Status Docker Build Status Docker Build Status

Usage

Create directory in your server

mkdir /opt/unoconv

Run container

docker run -d -p 80:3000 --env-file=docker.env -v /opt/unoconv:/opt/unoconvservice/status --name unoconv sfoxdev/unoconv

To convert .docx(or any other type of file) to .pdf make POST to Unoconv

curl --form [email protected] http://localhost/unoconv/pdf > test.pdf

To check status of converting, go to /opt/unoconv you could find to files here

  • service_started - in this file you could find timestamp when converting was started if file uploaded successfully
  • service_finished - in this file you could find timestamp when converting was finished and 0 if error occurs

About

Unoconv with NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published