{"repo":"pew/cloudflare-workers-browser-rendering","free":true,"listed":false,"github":"https://github.com/pew/cloudflare-workers-browser-rendering","clone":"git clone https://github.com/pew/cloudflare-workers-browser-rendering.git","description":"Take a screenshot of a website using the Cloudflare Workers Browser Rendering API","language":"TypeScript","stars":41,"topics":["cloudflare","cloudflare-r2","cloudflare-workers","puppeteer"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"Cloudflare Workers Browser Rendering Just playing around with the current Workers Browser Rendering API It'll accept a URL, use Cloudflare's Browser Rendering REST API to generate screenshots, markdown, and pdfs, save those artifacts to R2, and redirect you to the file. The crawl endpoint is async, so that one returns JSON with a crawl job id and lets you poll for the result later. install everything: set up your config: copy .dev.vars.example to .dev.vars : adjust bucket name in wrangler.jsonc , then put your runtime values into .dev.vars : for deployed Workers, you can set those in the dashboard or with wrangler secret put instead of committing them to the repo. create R2 bucket: deploy everything: take a screenshot: generate markdown: generate a pdf: start a crawl job: poll a crawl job:","default_branch":null,"files":null,"tree":[],"storefront":"/r/pew","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pew/cloudflare-workers-browser-rendering/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}