Multi-threaded content downloader written in Go. By downloading a file with multiple connections (multiple threads), download speed can be drastically improved.
Downloading with 100 threads:
Provide URL. Threads and save path are optional. Default is 10 threads and the current directory.
gdl <url>
gdl <url> -t <threads>
gdl <url> -o <save-path>
gdl <url> -t <threads> -o <save-path>
gdl https://do-spaces-1.simonfalke.studio/Hello\! -t 20 -o ~/Hello\!
go-threaded-dl can be installed on your system by running one of the commands below in your terminal.
An installation script will be run. You must have git, and either curl
or wget
installed.
Latest builds can be found under GitHub Actions here.
Method | Command |
---|---|
curl | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/simonfalke-01/go-threaded-dl/main/install.sh)" |
wget | /bin/bash -c "$(wget -O- https://raw.githubusercontent.com/simonfalke-01/go-threaded-dl/main/install.sh)" |
fetch | /bin/bash -c "$(fetch -o - https://raw.githubusercontent.com/simonfalke-01/go-threaded-dl/main/install.sh)" |
If you would like to inspect the script before running it, you can download the script by running the following command:
wget https://raw.githubusercontent.com/simonfalke-01/go-threaded-dl/main/install.sh
After you are done, you can run the script with
chmod +x ./install.sh && ./install.sh
A version of Go must be installed. Clone the repository and run:
go build -v -o gdl .
This project is licensed under there are literally no licenses to this (made by me). You can do whatever you want with this, but I would appreciate if you would give me credit.