A web server that takes screenshots of web pages. Useful for dynamic Open Graph images. Created with the power of open-source code by quartzo studio.
- Clone this repository
yarn start
yarn start
The server will start running on port 3000.
Generate screenshots by passing the parameters to the endpoint:
Parameter | Description | Default Value |
---|---|---|
url |
Website to take screenshot of (needs protocol e.g. http:// ) |
Required |
width |
Image width | 1280 |
height |
Image height | 800 |
dpi (integers only) |
Image DPI (integers only) | 1 |
http://localhost:3000?url=https://quartzo.studio&w=1280&h=640&dpi=2