Package ssweb API with puppeteer and google chrome
- heroku/nodejs (nodejs application)
- https://github.com/jontewks/puppeteer-heroku-buildpack.git
You can use paramenter of desktop
And handphone
https://webscreenn.herokuapp.com/ssweb/{SCREEN_TYPE}?url={URL}
Response result on json
{
"status": 200,
"creator": "Cakrayp & Caliph",
"message": "You can add paramenter of 'responsetype=image' to image response",
"result": {
"originalname": "e9f9f92dad.png",
"encoding": "7bit",
"mimetype": "image/png",
"size": "72.15 KB",
"url": "https://uploader.caliph.my.id/file/zaku7M75ok.png"
}
}
if you want to use images response, you can add paramenter of responsetype=image
https://webscreenn.herokuapp.com/ssweb/{SCREEN_TYPE}?url={URL}
- Response result on image for desktop
- Response result on image for handphone
- Sourde code Caliph
- Credit by Cakrayp (Me)