Vercel function which generates PDFs from websites. For Tech Fiddle internal use only.
This repo contains the code for a simple Vercel function that generates a PDF file from any webpage using a headless Chrome instance.
You can use it by placing your function's domain in front of any URL:
https://pdf.techfiddle.io/https://github.com/BetaHuhn/vercel-pdf-converter
The function will then generate a PDF of that URL and return it as a downloadable file.
Here is how this GitHub Page looks as a PDF:
This project was developed by (@betahuhn) originally.
Copyright 2023 Tech Fiddle & 2020 Maximilian Schiller
This project is licensed under the MIT License - see the LICENSE file for details.