personal-puppeteer

This is a personal web page screenshotting service. By personal I mean only I can use it. But it is open source, and you can run your own instance.

How to use it

  1. Generate a JWT with these fields:

    Key Description
    iss JWT issuer, which must be in the following allowlist
    url URL to screenshot
    width Width of the viewport
    width Height of the viewport
    deviceScaleFactor 1 for normal display, 2 for retina
    waitUntil load / domcontentloaded / networkidle0 / networkidle2
    js Custom JavaScript code to run after page load
    css Custom CSS to inject into page
  2. Construct a URL and use it:

Notes

Allowed JWT issuers

Issuer Public key