Skip to content

mcraa/libre-to-pdf-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple dockerized (so you can easily deploy to aks or aci) node/express server to convert office files to pdf. It uses Libreoffice to do the job.

Default port is 3000, you can change it by providing the PORT env var. Don't forget to expose the new port if you do so.

There is one POST endpoint /topdf , where you can send the office file as multipart/form-data in the document field of the form-data.

curl --request POST --url http://localhost:3000/topdf --form document=<doc_bytes_here>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published