https://github.com/quartzostudio/telescope
A server that takes screenshos of web pages
https://github.com/quartzostudio/telescope
express meta-tags open-graph puppeteer screenshot
Last synced: about 1 year ago
JSON representation
A server that takes screenshos of web pages
- Host: GitHub
- URL: https://github.com/quartzostudio/telescope
- Owner: quartzostudio
- Created: 2025-02-05T14:05:00.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-25T16:09:00.000Z (about 1 year ago)
- Last Synced: 2025-02-25T16:34:46.904Z (about 1 year ago)
- Topics: express, meta-tags, open-graph, puppeteer, screenshot
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔠telescope
A web server that takes screenshots of web pages. Useful for dynamic Open Graph images.
## 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
