Skip to content
Generate PDFs from Websites using Puppeteer and Google Cloud Functions
JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
deploy.sh
index.js
package-lock.json
package.json

README.md

HTML2PDF Cloud Function

Serverless HTML to PDF conversions using Google Cloud Functions, and Puppeteer.

Deploying

# 1. Install `gcloud` CLI tool: https://cloud.google.com/sdk/gcloud

# 2. Authorize gcloud:
gcloud init
gcloud auth application-default login

# 3. Deploy!
./deploy.sh

#4 Consume:

The gloud tool will return URL of cloud function. Invoke by it appending to it `?url=YOUR_URL`
You can’t perform that action at this time.