Coder Social home page Coder Social logo

pawnhearts / webshot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bots-house/webshot

0.0 1.0 0.0 145 KB

๐Ÿ“ท Generate screenshot of any page (under active development)

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

License: MIT License

JavaScript 3.05% Go 87.23% HTML 7.40% Dockerfile 2.33%

webshot's Introduction

๐Ÿ“ธ 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

webshot's People

Contributors

mr-linch avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.