Installation ❘ CLI Usage ❘ How it works? ❘ License ❘ Contribute
To install GSDM, you can use the go install
command:
go install github.com/Hayoun01/gsdm@latest
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.
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.
This project is licensed under the MIT License ©️ Mohammed Hayyoun.
Contributions are welcome! Feel free to open an issue or submit a pull request to contribute to this project.