| Crates.io | hyperfetch |
| lib.rs | hyperfetch |
| version | 0.1.3 |
| created_at | 2025-08-20 16:41:31.516249+00 |
| updated_at | 2025-08-20 16:41:31.516249+00 |
| description | A superfast multithreaded downloader |
| homepage | |
| repository | https://github.com/tarushmohindru/hyperfetch |
| max_upload_size | |
| id | 1803689 |
| size | 90,334 |
Fast, reliable CLI downloader for HTTP(S) with multi-connection segmented downloads, resume, retries, custom headers, and a clean progress UI.
Grab the latest release from the GitHub Releases page:
hyperfetchhyperfetch.exeLinux:
# Download the hyperfetch linux executable from Releases, then:
chmod +x hyperfetch
./hyperfetch --help
Windows (PowerShell):
# Download the .exe from Releases, then:
./hyperfetch.exe --help
Requires Rust (stable).
# In the repo root
after cloning:
cargo build --release
# Binary will be at:
# target/release/hyperfetch
Basic:
hyperfetch "<URL>"
Specify output path:
hyperfetch "<URL>" -o /path/to/file.iso
Increase concurrency (default 16):
hyperfetch "<URL>" --connections 32
Set chunk size (supports K, M, G, T; default 1M):
hyperfetch "<URL>" --chunk-size 4M
Resume is enabled by default. To disable:
hyperfetch "<URL>" --no-resume
Adaptive chunking is enabled by default. To disable:
hyperfetch "<URL>" --no-adaptive
Custom User-Agent and headers (repeat --header as needed):
hyperfetch "<URL>" \
--user-agent "Hyperfetch/1.0" \
--header "Accept: */*" \
--header "Authorization: Bearer <token>"
Retries and timeouts:
hyperfetch "<URL>" --retries 5 --timeout 45
Quiet and verbose modes:
# Quiet (no progress bar)
hyperfetch "<URL>" --quiet
# Verbose (extra console info)
hyperfetch "<URL>" --verbose
Usage: hyperfetch [OPTIONS] <URL>
Options:
-o, --output <FILE> Output file path
-c, --connections <NUM> Maximum concurrent connections [default: 16]
--chunk-size <SIZE> Chunk size (K/M/G/T) [default: 1M]
-u, --user-agent <STRING> Custom User-Agent
--header <HEADER> Custom HTTP header (format: 'Name: Value') [repeatable]
--no-resume Disable resume
--no-adaptive Disable adaptive chunking
-r, --retries <NUM> Number of retry attempts [default: 3]
-t, --timeout <SECONDS> Connection timeout [default: 30]
-q, --quiet Quiet mode (no progress bar)
-v, --verbose Verbose output
-h, --help Print help
-V, --version Print version
Accept-Ranges: bytes). If not supported, Hyperfetch falls back to a single stream.Authorization or Cookie).--retries.--connections or rely on the default.Download a large file with higher concurrency and custom chunk size:
hyperfetch "https://example.com/big.iso" -o big.iso --connections 32 --chunk-size 8M
Resume a partially downloaded file:
hyperfetch "https://example.com/big.iso" -o big.iso
Authenticated download (bearer token):
hyperfetch "https://api.example.com/export" \
--header "Authorization: Bearer $TOKEN" \
-o export.ndjson
Tagged releases (e.g., v0.1.2) automatically build Linux and Windows archives and attach them to the GitHub Releases page.
chmod +x hyperfetch before running.This project is open source; see the repository for license details.