hseoy / get-a-web-screenshot

This is an express server to capture website screenshots using node.js and puppeteer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get a web screenshots

This is an express server to capture website screenshots using node.js and puppeteer.

Install and Run

$ git clone https://github.com/hseoy/get-a-web-screenshot
$ yarn install
$ yarn start

Usage

GET / API to capture website screenshot

Queries :

query description is required
website website url to capture yes

Returns: Captured website screenshot. image/png

Example:

  • url: http://localhost:3000/?website=https://github.com/hseoy/get-a-web-screenshot
  • response:

screenshot

About

This is an express server to capture website screenshots using node.js and puppeteer.


Languages

Language:JavaScript 100.0%