Skip to content
/ pdf Public
forked from as-a-service/pdf

Simple http microservice that converts Word documents to PDF

License

Notifications You must be signed in to change notification settings

LeDoanh/pdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"to PDF" as a service

A simple web service that transforms the given document into a PDF file.

Run with docker run -p 8080:8080 gcr.io/as-a-service-dev/pdf

URL parameters:

  • input: URL of the document to transform.

Running the server locally

  • Build with docker build . -t pdf
  • Start with docker run -p 8080:8080 pdf
  • Open in your browser at https://localhost:8080/?url=https://homepages.inf.ed.ac.uk/neilb/TestWordDoc.doc

Deploy to your server

The following container image always reflects the latest version of the master branch of this repo: gcr.io/as-a-service-dev/pdf

Deploy to Google Cloud

Run on Google Cloud

Or use gcloud beta run deploy --image gcr.io/as-a-service-dev/pdf

Cloud Build

About

Simple http microservice that converts Word documents to PDF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.0%
  • HTML 31.6%
  • Dockerfile 13.4%