Simple wget clone written in Rust. It is a practice project to explore Rust's capabilities in building command-line tools. This program allows you to download files from the internet with support for pausing and resuming downloads as well as a logging to keep track of them.
- Download files from URLs
- Pause and resume downloads using
Ctrl+C
- Progress bar indicating download status
- Log download history with timestamps
- Handles HTTP redirections
- Rust and Cargo installed. If not, follow the official installation guide.
-
Clone the repository:
git clone https://github.com/yourusername/rget.git cd rget
-
Build the project:
cargo build
-
To download a file, run:
cargo run -- https://example.com/file.zip
-
Press Ctrl+C to pause the download. Run the same command again to resume from where it left off.
Inspired on Matt Gathu's Guide for Writing CLI apps with Rust