Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/taranvd/rust-sreenshots
- Owner: taranvd
- Created: 2024-07-03T16:03:43.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-07T16:08:37.000Z (6 months ago)
- Last Synced: 2024-07-08T17:12:52.394Z (6 months ago)
- Topics: chrono, rdev, xcap
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```