Web Shot is a handy tool built with Rust that allows you to generate screenshots of web pages effortlessly. It provides both Command Line Interface (CLI) and Web API functionalities, making it versatile for different usage scenarios.
- CLI Interface: Quickly capture screenshots from the command line with simple commands.
- Web API: Integrate screenshot generation directly into your web applications or services.
- Customizable: Adjust settings such as resolution, viewport size, and more to tailor screenshots to your needs.
TODO
To capture a screenshot using the CLI, simply run:
cli -u https://example.com
The Web API allows you to integrate screenshot generation directly into your applications. Here's a simple example using cURL:
curl https://your-web-shot-server.com/?url=https://example.com
- Improve error handling and stability.
- Add support for more output formats.
- Enhance documentation for easier usage.
Contributions are welcome! Whether you want to fix a bug, add a feature, or improve documentation, feel free to open an issue or submit a pull request.
Please note: Web Shot is currently in its early stages of development and may not be suitable for production environments. Use it at your own discretion.
This project is licensed under the MIT License.