dynasty
A Dynasty Reader's CLI downloader, written in Rust.
Installation
- Github releases
You need to extract the binary from the downloaded release in order to run them.
There are currently 2 variation available on GitHub releases:
-
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 (means smaller size), this binary won't have
--archiveand--keep-archivedcommand line flags.
- Cargo
You need to have Rust toolchain installed if you want to use Cargo installation method.
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.3.0.
Dynasty reader's CLI downloader
Usage: dynasty-cli [OPTIONS] [URL]...
Arguments:
[URL]... Urls to be downloaded
Options:
-a, --archive <ARCHIVE> Archive downloaded chapters as `<ARCHIVE>` [possible values: cbz, pdf, zip]
-A, --keep-archived Whether to keep archived chapters
-d, --directory <PATH> Sets the output directory
-f, --flatten-directory Whether to flatten output directory
-n, --no-cache Whether to not cache resolver results
-j, --max-concurrent-request <COUNT> The maximum number of concurrently running requests [default: 4]
-k, --max-retry <COUNT> The maximum number of request retries [default: 4]
-h, --help Print help information
-V, --version Print version information
Examples
- Download Hino-san no Baka with 8 concurrent fetch.
- Download the chapters as pdf.
- 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.