Crates.io | hashgood |
lib.rs | hashgood |
version | 0.4.0 |
source | src |
created_at | 2024-03-12 19:24:11.335437 |
updated_at | 2024-03-12 19:24:11.335437 |
description | Interactive CLI utility for verifying file checksums |
homepage | https://github.com/thombles/hashgood |
repository | https://github.com/thombles/hashgood |
max_upload_size | |
id | 1170905 |
size | 194,275 |
A CLI tool for easily verifying a downloaded file's checksum.
Wouldn't it be nice if your computer compared the hash for you?
Read the MD5, SHA1 or SHA256 hash from:
-c
)-c
)-p
)...or just run hashgood
against the input and receive all three at once.
This program arose from dissatisfaction with the workarounds required for traditional tools.
If you have a working Rust toolchain you can install hashgood
from crates.io:
cargo install hashgood
Pre-compiled binaries for common platforms can be downloaded from the releases page. Otherwise you can build it yourself; see the next section.
hashgood
targets stable Rust. With a Rust toolchain installed, clone the repository and run:
cargo build --release
Take the compiled executable from target/release/hashgood
.
To include support for pasting from the clipboard with -p
, specify the extra feature. Note that on Linux this requires several extra libraries: libxcb1-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render0-dev
cargo build --release --features paste