1 unstable release
Uses old Rust 2015
0.3.1 | Oct 20, 2018 |
---|
#19 in #accelerator
36KB
847 lines
Grapple
Interruptible, download accelerator, with Basic and Digest Authentication support, written in Rust.
Installation
Installation through cargo
- Install Rustup
- Run
cargo install --git https://github.com/daveallie/grapple
Installing binary manually
- Download the zipped binary for your platform from the latest release page.
- Copy or symlink the binary to
/usr/local/bin
or place it on yourPATH
.
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
- 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
- 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–24MB
~425K SLoC