webshothq
v1.0.2
Published
High-quality website screenshot tool with customizable viewport dimensions
Maintainers
Readme
WebShotHQ
A high-quality website screenshot tool with customizable viewport dimensions. Take perfect screenshots of any website with ease.
Features
- Take full-page screenshots of any website
- Customize viewport width and height
- Automatically open screenshots after creation
- Interactive and command-line modes
- Supports custom viewport dimensions
- High-quality output
Installation
- Install from npm:
npm install -g webshothqOr clone this repository and install dependencies:
git clone https://github.com/kapasifulop/webshothq.git
cd webshothq
npm installUsage
Basic Usage
webshothq https://example.comOr if installed locally:
node index.js https://example.comWith Custom Width
webshothq https://example.com --width=1080With Custom Height
webshothq https://example.com --height=800With Both Dimensions
webshothq https://example.com --width=1080 --height=800Auto-open Screenshot
webshothq https://example.com --openInteractive Mode
webshothqOptions
--width=<pixels>: Set viewport width (default: 1920)--height=<pixels>: Set viewport height (uses full page height if not specified)--open: Automatically open the screenshot after creation
Output
Screenshots are saved in the current directory with the filename derived from the URL.
Requirements
- Node.js
- NPM
- Puppeteer (installed automatically with npm install)
Author
Kapási Fülöp ([email protected])
License
This project is licensed under the MIT License - see the LICENSE file for details.
