https://github.com/mostafa-asg/go-dl
Dead simple file downloader in Go
https://github.com/mostafa-asg/go-dl
download downloader go golang
Last synced: 5 months ago
JSON representation
Dead simple file downloader in Go
- Host: GitHub
- URL: https://github.com/mostafa-asg/go-dl
- Owner: mostafa-asg
- Created: 2021-03-31T12:53:26.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-05T21:52:01.000Z (over 3 years ago)
- Last Synced: 2024-06-19T21:03:35.981Z (about 2 years ago)
- Topics: download, downloader, go, golang
- Language: Go
- Homepage:
- Size: 1.56 MB
- Stars: 40
- Watchers: 1
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dead simple file downloader
- [X] parallel download
- [X] resumable
- [X] [progressbar](https://github.com/schollz/progressbar)
### Install
```
git clone https://github.com/mostafa-asg/go-dl
cd go-dl/cmd
go build dl.go
```
### Download a file
```
./dl -u {YOUR_FILE} -n {CONCURRENCY_Level}
./dl -u https://apache.claz.org/zookeeper/zookeeper-3.7.0/apache-zookeeper-3.7.0-bin.tar.gz
```
### Interupt/Pause the download
Ctrl+c
### Resume the download
Use --resume
```
./dl -u https://apache.claz.org/zookeeper/zookeeper-3.7.0/apache-zookeeper-3.7.0-bin.tar.gz --resume
```
### Need more control?
See other options
```
./dl --help
```