rustywitness

Crates.iorustywitness
lib.rsrustywitness
version0.1.0
sourcesrc
created_at2021-10-27 11:02:10.935154
updated_at2021-10-27 11:02:10.935154
descriptionA CLI tool for getting screenshots of URLs using headless chrome
homepagehttps://github.com/swanandx/rustywitness
repositoryhttps://github.com/swanandx/rustywitness
max_upload_size
id472961
size43,412
Swanand Mulay (swanandx)

documentation

README

rustywitness

🦀 🌐 📸
Web screenshot utility
A CLI tool for getting screenshots of URLs using headless chrome

@_swanandx GitHub issues GitHub stars GitHub forks GitHub license
Built with ❤︎ by swanandx and contributors

🧰 Usage

Just pass URL rustywitness https://example.com or /PATH/TO/FILE as argument rustywitness 100-urls.txt.

You don't need to worry about remembering flags, it can determine if the argument is a file or a single URL!

🔭 Installation

Download executable 📈

You can directly download executable and run it. No need for any installation.

  • Check releases here.

Using cargo 🦀

  • cargo install rustywitness

Build it from source 🎯

Clone repository

  • git clone https://github.com/swanandx/rustywitness && cd rustywitness

then build and run

  • cargo run e.g. cargo run -- <URL/FILENAME> [OPTIONS]

OR

  • cargo build --release

  • cd target/release/

  • ./rustywitness e.g. ./rustywitness <URL/FILENAME> [OPTIONS]

🚧 Contributing

There is always scope for improvements and bugs to be fixed! Just open a issue or submit a PR.

Acknowledgement

Similar projects were very helpful as a reference. Special thanks to siddicky and Drago for testing it!

Commit count: 25

cargo fmt