Home

Awesome

<img src="assets/logo.png" width="400" alt="Puppetron">

Puppeteer (Headless Chrome Node API)-based rendering solution.

Videos & Tweets:

⚠️⚠️⚠️ NOTE: Starting version 2.0, CJK and emoji support is gone.

🚧🚧🚧 PLEASE READ THIS 🚧🚧🚧

Do NOT use this for production use-cases.

This is just a demo site of what cool things that Puppeteer can do. Under any circumstances, this site may be down any time or be heavily rate-limited to prevent abuse.

Please check out what Puppeteer can do for your own use case and host on your own servers.

API

The API can perform 3 actions:

URL - the URL with encoded pathname, search and hash.

Global parameters:

Screenshot

/screenshot/{URL}
...or
/{URL}

Parameters:

Render

/render/{URL}

Notes:

Parameters: None

PDF

/pdf/{URL}

Parameters:

Development

Requirements

Steps

  1. npm i
  2. npm start
  3. Load localhost:3000

Credits

Block list from Prerender.

For version 1.0, this uses cheeaun/puppeteer Docker image.

For version 2.0, this uses some parts from Zeit's now-examples: misc-screenshot.

Inspired by zenato/puppeteer, puppeteer-renderer and Rendertron.