Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petehouston/mshot-cli
CLI to take screenshots for multiple website at one using Puppeteer.
https://github.com/petehouston/mshot-cli
capture cli puppeteer puppeteer-screenshot screenshot screenshot-utility screenshots
Last synced: 25 days ago
JSON representation
CLI to take screenshots for multiple website at one using Puppeteer.
- Host: GitHub
- URL: https://github.com/petehouston/mshot-cli
- Owner: petehouston
- Created: 2018-08-02T08:25:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-02T08:53:32.000Z (over 6 years ago)
- Last Synced: 2024-12-08T09:20:40.487Z (about 1 month ago)
- Topics: capture, cli, puppeteer, puppeteer-screenshot, screenshot, screenshot-utility, screenshots
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mshot-cli
CLI to take screenshots for multiple website at one using Puppeteer.
## Usage
```
$ npm i -g mshot-cli
``````
Usage
$ mshot PATH_TO_CONFIG_FILEExample
$ mshot config.json
```There is only one parameter that point to your `config.json` file, which defines how to take screenshots.
Here a sample:
```js
{
"options": {
"path": ".",
"viewport": {
"width": 1280,
"height": 720
},
"timeout": 5000,
"extension": "png"
},
"websites": [
"petehouston.com",
"apple.com",
"microsoft.com"
]
}
```