Skip to content

ksk001100/ruget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruget

Build Status

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