zYxDevs / webshot

📷 Generate screenshot of any page (under active development)

Home Page:https://webshot.bots.house

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

📸 WebShot

Self-hosted web page screenshot generator.

API

GET https://webshot.bots.house/image
Param Type Description Default
url string URL of target page Required
width int Viewport width in pixels of the browser render 1680
height int Viewport height in pixels of the browser render 867
scale float Viewport scale 1.0
format string Output format (png, jpeg) png
quality int Output image quiality 100
clip_x float64 X offset in device independent pixels (dip). null
clip_y float64 Y offset in device independent pixels (dip). null
clip_width float64 Rectangle width in device independent pixels (dip). null
clip_height float64 Rectangle height in device independent pixels (dip). null
delay int Delay in milliseconds, to wait after the page is loaded null
full_page bool Capture full page screenshot false
scroll_page bool Scroll through the entire page before capturing a screenshot. false

Deploy

Heroku

Deploy Heroku

DigitalOcean

Deploy to DigitalOcean

About

📷 Generate screenshot of any page (under active development)

https://webshot.bots.house

License:MIT License


Languages

Language:Go 87.2%Language:HTML 7.4%Language:JavaScript 3.0%Language:Dockerfile 2.3%