in case this is the very first time you're hearing about puppeteer, i'd highly recommend googling what it does first and also refer to the official documentation to get a quick sense of what it's all about.
here's a video from the docs that should help you get started too —
as of this post, the api is able to deliver the following —
- capture a screenshot from a given url
- fetch metrics of a page
- get a timeline trace
- render page as a pdf
...more to be added soon 😉
i've ensured to keep the documentation as simple as possible and you can find all you need on that here —
a free and open-source api that runs puppeteer as a service.
table of contents
- host your own
- base url
- preview (staging):
- default path:
- endpoint: any one of the individual
.jsfiles in the api folder
- ignore the
index.jsfile inside the
- ignore the
- task: takes a screenshot of the input url
- class: page.screenshot
- source: screenshot.js
||number||width of the screenshot.||
||number||height of the screenshot.||
||number||device scale factor (can be thought of as DPR).||
||string||can be either
- task: fetch metrics of the page
- class: page.metrics
i'm actively working to —
- partner with folks who'd want to add more methods to the api.
- check-in with the community on some feedback & inspiration on what new can be done.
feel free to reach out in case you have any cool problem statements that you'd like to see solved using this api —
Sourabh Choraria@schoraria911🚨 Launching pptr.io today 🚀
It's yet-another-attempt to host a free & open-source API that delivers "Puppeteer as a service".
twitter.com/jsoverson/stat…18:33 PM - 03 Oct 2021Jarrod Overson @jsoverson@schoraria911 @dsottimano Glad to help! Let me know if you do make a product out of it. It'd be fun to know that video actually helped someone make a real company 😁