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.
Installation ❘
CLI Usage ❘
How it works? ❘
License ❘
Contribute
Installation
To install GSDM, you can use the go get
command:
go get github.com/Hayoun01/gsdm
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.