gsdm

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 17 Imported by: 0

README

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 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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL