#download #accelerator #basic #digest #authentication #downloader #interruptible

app grapple

Interruptible, download accelerator, with Basic and Digest Authentication support

1 unstable release

Uses old Rust 2015

0.3.1 Oct 20, 2018

#19 in #accelerator

MIT license

36KB
847 lines

Grapple

Build Status

Interruptible, download accelerator, with Basic and Digest Authentication support, written in Rust.

grapple usage

Installation

Installation through cargo

  1. Install Rustup
  2. Run
cargo install --git https://github.com/daveallie/grapple

Installing binary manually

  1. Download the zipped binary for your platform from the latest release page.
  2. Copy or symlink the binary to /usr/local/bin or place it on your PATH.

Usage

$ grapple --help
Grapple 0.3.0
Dave Allie
Fast, interruptible file downloader in Rust

USAGE:
    grapple [OPTIONS] <URI>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -p, --parts <PARTS>
            Set part count, defaults to the thread count. Cannot be less than the thread count.

    -P, --password <PASSWORD>                    Password to use in authentication. Overrides password if set in URI.
        --thread-bandwidth <THREAD_BANDWIDTH>    Per thread bandwidth in kB/s
    -t, --threads <THREADS>                      Set thread count, defaults to 10.
    -u, --username <USERNAME>                    Username to use in authentication. Overrides username in URI.

ARGS:
    <URI>    URI of file to download

Contributing

  1. Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

Development

  1. Install Vagrant
  • Navigate to the development directory
  • Run vagrant up
  • Run vagrant ssh
  • Project will be in the ~/grapple folder
  • Run cargo build to build the source

License

The project is available as open source under the terms of the MIT License.

Dependencies

~15–25MB
~440K SLoC