© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•17mo ago•
3 replies
Filou

Puppeeter with cloudflare workers

Hello! I recently saw this github repo : https://github.com/cloudflare/puppeteer

I have a SvelteKit project hosted on Cloudflare Pages and I would like to add an invoice system. I'm not very talented with PDFs, so I want to create PDF from HTML code. The only way I found was to use Puppeteer to render an html page and save it as PDF.

I did all my pdf tests in a separate project, and now that I feel more comfortable with puppeteer, I want to include it to my SvelteKit project.

I still have issues in understanding the difference between Workers and Pages, but from what I read Pages is meant for static websites, therefore there's no nodejs environment for puppeteer to run on. So my question is: Does cloudflare/puppeteer is meant to be use in workers ? If yes, can I include it in my sveltekit app and host the project in workers rather than pages ?

Have a nice day!
GitHub
GitHub - cloudflare/puppeteer: Puppeteer Core fork that works with ...
Puppeteer Core fork that works with Cloudflare Browser Workers - cloudflare/puppeteer
GitHub - cloudflare/puppeteer: Puppeteer Core fork that works with ...
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

using Mongoose with cloudflare workers?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Latency Cloudflare Workers + Workers KV
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Cloudflare Workers Ratelimiting
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
7mo ago
Vars cloudflare workers
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
9mo ago