https://github.com/joelanman/wshot
Get screenshots of web pages
https://github.com/joelanman/wshot
cli node screenshot web
Last synced: 4 months ago
JSON representation
Get screenshots of web pages
- Host: GitHub
- URL: https://github.com/joelanman/wshot
- Owner: joelanman
- Created: 2018-03-21T13:03:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-29T16:07:52.000Z (about 8 years ago)
- Last Synced: 2025-02-06T18:52:12.270Z (over 1 year ago)
- Topics: cli, node, screenshot, web
- Language: JavaScript
- Homepage:
- Size: 77.1 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# WShot
A command line app to take screenshots of web pages, written in NodeJS.
## Install
Run `npm install -g wshot`
## How to use
You can get a screenshot of a URL (must start with http:// or https://)
`wshot https://www.gov.uk`
Or multiple URLs, using a text file with each URL on a new line:
`wshot urls.txt`
Screenshots are saved into a folder called `screenshots`.
You can set browser width, it defaults to 1200 pixels.
`wshot https://www.gov.uk --width 320`
By default, you'll get a screenshot of the full height of the page. To get a set height:
`wshot https://www.gov.uk --height 800`