Skip to content

Hayoun01/gsdm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSDM (GO Simple Download Manager)

GSDM is a CLI tool for downloading files from URLs. It provides a simple and efficient way to download files.

InstallationCLI UsageHow it works?LicenseContribute

Installation

To install GSDM, you can use the go install command:

go install github.com/Hayoun01/gsdm@latest

CLI Usage

GSDM provides the following command-line options:

  • -o: Specify the output filename for the downloaded file.
  • -w: Number of goroutines for concurrent downloading (Default: 4).
  • -v: Enable verbose mode to display detailed information during the download process.

Here's an example of how to use GSDM:

gsdm -o vid.mp4 -w 10 -v https://example.com/video.mp4

Note: that the args goes before the link since The flag package doesn't adhere to GNU parsing rules.

How it works?

GSDM follows RFC 7233, which defines the standard for HTTP range requests. This allows for efficient handling of partial content downloads, enabling features like resuming interrupted downloads and downloading files in chunks.

License

This project is licensed under the MIT License ©️ Mohammed Hayyoun.

Contribute

Contributions are welcome! Feel free to open an issue or submit a pull request to contribute to this project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published