Skip to content

quartzostudio/telescope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔭 telescope

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.

Install

  1. Clone this repository
  2. yarn start

Start server

yarn start

The server will start running on port 3000.

Screenshot

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

Example

http://localhost:3000?url=https://quartzo.studio&w=1280&h=640&dpi=2

Result

image

Releases

No releases published

Packages

No packages published