12 releases
0.5.0 | May 12, 2023 |
---|---|
0.4.3 | Dec 31, 2020 |
0.4.2 | Jun 29, 2020 |
0.3.1 | Feb 27, 2020 |
0.1.2 | Sep 13, 2019 |
#1008 in Web programming
2,899 downloads per month
15KB
274 lines
Ruget
Alternative to wget written in Rust
install
$ cargo install ruget
In macOS you can install it with Homebrew
$ brew tap ksk001100/homebrew-ruget
$ brew install ruget
usage
$ ruget https://sample-videos.com/img/Sample-png-image-30mb.png
$ ruget https://sample-videos.com/img/Sample-png-image-30mb.png --output sample.png
$ ruget https://sample-videos.com/img/Sample-png-image-30mb.png -o sample.png
Ruget vs Wget
Ruget
$ time ruget http://ipv4.download.thinkbroadband.com/100MB.zip
...
...
...
ruget http://ipv4.download.thinkbroadband.com/100MB.zip 2.00s user 3.38s system 33% cpu 15.858 total
Wget
$ time wget http://ipv4.download.thinkbroadband.com/100MB.zip
...
...
...
wget http://ipv4.download.thinkbroadband.com/100MB.zip 0.34s user 1.84s system 8% cpu 26.428 total
Dependencies
~4–15MB
~224K SLoC