Coder Social home page Coder Social logo

gsdm's Introduction

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.

gsdm's People

Contributors

hayoun01 avatar

Stargazers

Hamza Hammouch avatar noor aldeen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.