#screenshot #image #tool #headless-chrome

bin+lib saqif

A simple application to take screenshots of given URLs

1 unstable release

new 0.1.0 Apr 13, 2024

#18 in #screenshot

MIT license

20KB
173 lines

Saqif is a simple application to quickly take screenshots of any given URL that is publicly accessible

Saqif in action

use saqif::screenshot;


fn main() {
    let urls = vec![
        String::from("https://doc.rust-lang.org/reference/visibility-and-privacy.html"),
        String::from("https://doc.rust-lang.org/reference/names/namespaces.html"),
        String::from("https://doc.rust-lang.org/reference/paths.html")
    ];

    let file_path = String::from("./examples");

    let r = screenshot::Screenshot::new(urls, file_path)
    .expect("Failed to init");

    r.get_screenshots();
}

Dependencies

~17–33MB
~530K SLoC