Skip to content

renzobanegass/wget-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Wget Clone

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.

Features

  • Download files from URLs
  • Pause and resume downloads using Ctrl+C
  • Progress bar indicating download status
  • Log download history with timestamps
  • Handles HTTP redirections

Installation

Prerequisites

Building from Source

  1. Clone the repository:

    git clone https://github.com/yourusername/rget.git
    cd rget
    
  2. Build the project:

    cargo build
    

Usage

Running the Program

  1. To download a file, run:

    cargo run -- https://example.com/file.zip
    
  2. 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

About

Rust wget clone to practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages