dynasty
A simple Dynasty Reader's CLI downloader, written in Rust.
Installation
- Github releases
Download the release and then put it in your path or anywhere you want.
Variants
There are currently 2 variants available in GitHub release.
-
dynasty-cli
The default, full-featured binary, just download this if you don't know which to pick.
-
dynasty-cli-no-archive
The binary without archive functionality (which means smaller size), this binary won't have
--archiveand--keep-archivedflags.
- Cargo
You need to have Rust toolchain installed if you want to install using Cargo.
Or if you don't need archive functionality.
Cargo will put the binary,
dynasty-cliat your installation root (typically at$HOME/.cargo/bin).
Usage
This is the --help for v1.2.0.
dynasty 1.2.0
Aynh <aynlazur@gmail.com>
Dynasty reader's CLI downloader
USAGE:
dynasty-cli [OPTIONS] <URL>...
ARGS:
<URL>... URL(s) to be downloaded
OPTIONS:
-a, --archive <ARCHIVE_KIND>
Archive the downloaded chapter(s) as <ARCHIVE_KIND> [possible values: cbz, zip, pdf]
-A, --keep-archived
Whether to keep archived images
-d, --dir <DIR>
Where to save the downloaded chapter(s).
-h, --help
Print help information
-j, --max-concurrent-request <NUM>
The maximum number of concurrently running requests [default: 4]
-k, --max-retry <NUM>
The maximum number of request retries [default: 4]
-V, --version
Print version information
Examples
- Download Hino-san no Baka with 12 concurrent fetch.
- Using proxy (http, https, or socks) is possible through environment variable (see reqwest proxies).
HTTPS_PROXY=socks5://127.0.0.1:1080
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.