An open API service indexing awesome lists of open source software.

https://github.com/ksk001100/ruget

Alternative to wget written in Rust
https://github.com/ksk001100/ruget

downloader rust wget

Last synced: 2 months ago
JSON representation

Alternative to wget written in Rust

Awesome Lists containing this project

README

          

# Ruget

![](https://img.shields.io/github/stars/ksk001100/ruget.svg)
![](https://img.shields.io/github/release/ksk001100/ruget.svg)
![](https://img.shields.io/github/issues/ksk001100/ruget.svg)
![](https://img.shields.io/github/forks/ksk001100/ruget.svg)
![](https://img.shields.io/github/license/ksk001100/ruget.svg)
[![Build Status](https://travis-ci.org/ksk001100/ruget.svg?branch=master)](https://travis-ci.org/ksk001100/ruget)

Alternative to wget written in Rust

## install

```bash
$ cargo install ruget
```

In macOS you can install it with Homebrew
```bash
$ brew tap ksk001100/homebrew-ruget
$ brew install ruget
```

## usage

```bash
$ 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
```bash
$ 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
```bash
$ 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
```