| Crates.io | binkget |
| lib.rs | binkget |
| version | 0.1.1 |
| created_at | 2025-02-14 07:17:42.33327+00 |
| updated_at | 2025-02-16 00:00:19.281311+00 |
| description | A simple command line tool for downloading files using HTTP(S) protocol. |
| homepage | https://github.com/Binkersss/binkget |
| repository | https://github.com/Binkersss/binkget |
| max_upload_size | |
| id | 1555369 |
| size | 67,594 |
Binkget is a command-line utility for downloading files over HTTPS, written in Rust. It is designed to be a minimal, efficient alternative to wget, leveraging the tokio asynchronous runtime and the reqwest HTTPS library for fast and concurrent downloads.
tokioindicatifIf you have Rust and Cargo installed, you can install Binkget directly from source:
cargo install binkget
To build the binary manually, clone the repository and compile it using Cargo:
git clone https://github.com/yourusername/binkget.git
cd binkget
cargo build --release
The compiled binary will be available at target/release/binkget.
Binkget allows you to download files from the command line by specifying a URL and a target filename.
binkget <URL> <FILENAME>
Example:
binkget https://ash-speed.hetzner.com/1GB.bin test.bin
-h : Display help information.-V : Show the version number.~/$ binkget https://ash-speed.hetzner.com/1GB.bin test.bin
URL: https://ash-speed.hetzner.com/1GB.bin
FILENAME: test.bin
HTTP request sent.. 200 OK
Length: 1073741824 (1.00 GiB)
Type: application/octet-stream
Saving to: test.bin
test.bin [00:01:35] [========] 1.00 GiB/1.00 GiB eta: 0s
Download complete!
The main function sets up the CLI using clap, extracts command-line arguments, and initializes an asynchronous runtime to execute the download function.
reqwest.indicatif.Binkget relies on the following Rust crates:
tokio: Asynchronous runtime for handling non-blocking IO.reqwest: HTTP client for sending GET requests.indicatif: Progress bar visualization.url: URL parsing and validation.console: Terminal styling for improved readability.futures-util: Stream utilities for handling async data.Contributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.
Binkget is released under the MIT License.
Author: Nathaniel Chappelle
Email: nathaniel.chappelle@proton.me