webshot

command module
v0.0.0-...-dfdb652 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2021 License: MIT Imports: 22 Imported by: 0

README

📸 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL