Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/as-a-service/pdf
Simple http microservice that converts Word documents to PDF
https://github.com/as-a-service/pdf
cloud-run-button container docker google-cloud-run libreoffice microservice pdf word
Last synced: about 1 month ago
JSON representation
Simple http microservice that converts Word documents to PDF
- Host: GitHub
- URL: https://github.com/as-a-service/pdf
- Owner: as-a-service
- License: apache-2.0
- Created: 2019-03-09T23:10:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-15T10:24:56.000Z (over 3 years ago)
- Last Synced: 2024-08-03T01:12:06.141Z (4 months ago)
- Topics: cloud-run-button, container, docker, google-cloud-run, libreoffice, microservice, pdf, word
- Language: Python
- Homepage: https://pdf.as-a-service.dev/
- Size: 29.3 KB
- Stars: 154
- Watchers: 4
- Forks: 56
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloud-run - pdf
README
# "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 `http://localhost:8080/?url=http://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](https://storage.googleapis.com/cloudrun/button.svg)](https://deploy.cloud.run)
Or use `gcloud beta run deploy --image gcr.io/as-a-service-dev/pdf`
![Cloud Build](https://badger-l7zawt5jsq-uw.a.run.app/build/status?project=as-a-service-dev&id=4dfdd64b-283d-4312-bab5-e98760ad02f1)