1.0.1 • Published 8 months ago
screenshot-cli-tool v1.0.1
Screenshot CLI Tool
Screenshot CLI Tool is a lightweight and efficient command-line tool that allows you to capture website screenshots with ease. It uses Puppeteer to automate browser interactions and save screenshots locally.
Features
- Capture full-page screenshots of any website.
- Save screenshots in a specified output directory.
- Simple and intuitive command-line interface.
Installation
To install the tool globally, use the following command:
npm install -g screenshot-cli-tool
Usage
Once installed, you can run the CLI tool directly from your terminal or command prompt.
screenshot-cli <URL> <output_directory>
Example
Capture a screenshot of https://example.com
and save it to a folder named screenshots
:
screenshot-cli https://example.com ./screenshots
Output
- The screenshot will be saved in the specified directory.
- Filenames are timestamped for uniqueness, e.g.,
screenshot-2024-12-11T12-30-00.png
.
Free Trial and Paid Version
Parameter | Description |
---|---|
<URL> | The website URL you want to capture a screenshot of. |
<output_directory> | The folder where the screenshot will be saved. |
Free Trial and Paid Version
This tool comes with a free trial that allows capturing up to 10 screenshots. For unlimited usage, upgrade to the paid version by purchasing a license.
How to Upgrade
- Visit the License Page to purchase a license.
- After purchasing, use the provided license key to unlock the full version:
- Once activated, enjoy unlimited usage!
screenshot-cli activate <license_key>
Troubleshooting
Common Issues
- Error: "Output directory does not exist." Solution: Ensure the output directory exists or let the tool create it for you.
- Error: "Free trial limit reached." Solution: Upgrade to the paid version by purchasing a license.
Feedback and Support
If you encounter any issues, need support, or have suggestions for improvements, feel free to:
- Open an issue in the GitHub repository.
- Contact the author via email at gmeshram774@gmail.com.
Author
Gagan Meshram