Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taranvd/rust-sreenshots

A dead simple screenshot capturer script written in Rust.
https://github.com/taranvd/rust-sreenshots

chrono rdev xcap

Last synced: about 1 month ago
JSON representation

A dead simple screenshot capturer script written in Rust.

Awesome Lists containing this project

README

        

# Screenshot capturer

A dead simple screenshot capturer script written in Rust. Run it, press PrtScr, and observe your screenshot in the `screens` directory (the directory will be created automatically if it does not exist).

## Dependencies

- [Chrono](https://crates.io/crates/chrono): A date and time library for Rust.
- [RDev](https://crates.io/crates/rdev): Rust library for grabbing input events from keyboards and mice.
- [xcap](https://crates.io/crates/xcap): Cross-platform library for capturing screenshots.

## Overriding directory name

To override the screenshots directory, simply provide the desired name when running the program:

```bash
rust-screenshots custom_dir
```

## Building
```bash
cargo build --release
```