A set of tools for downloading novels from the web, manipulating text, and generating EPUB
- Windows
- Linux
- macOS
You can download the compiled file from release, or compile it yourself
# Download the source code from https://crates.io
cargo install novel-cli
# Or download the source code from GitHub
git clone https://github.com/novel-rs/cli
cd cli
cargo build --release
If you compile it yourself, you need the following dependencies:
- Clang
- CMake
- Python / Python3
The novel-cli build subcommand requires pandoc
The novel-cli real-cugan subcommand requires realcugan-ncnn-vulkan
You can run novel-cli help
to view help information
- The basic format of the command is:
novel-cli [OPTIONS] <COMMAND> [COMMAND-OPTIONS] [ARGUMENTS]
- Download a novel from source in format
novel-cli download <novel_id> --source <source> --format <output_format>
- Search for a novel from source
novel-cli search --source <source> <keyword>
sign
: Sign in and display the current amount of moneydownload
: Download novelsearch
: Search novelsinfo
: Show novel informationread
: Read novelbookshelf
: Show novels in the bookshelftemplate
: Generate pandoc-style markdown file templatetransform
: Transform pandoc-style markdown filecheck
: Check pandoc-style markdown file format and contentbuild
: Build novel from pandoc-style markdown file or mdBook folderzip
: Zip an EPUB folderunzip
: Unzip an EPUB filereal-cugan
: Run realcugan-ncnn-vulkan to super-resolution imagesupdate
: Check for updates, download file from GitHub, and replacecompletions
: Generate shell completion to stdouthelp
: Print this message or the help of the given subcommand(s)
-v, --verbose
: Use verbose output. This option provides more detailed output-q, --quiet
: Do not print logs (default: false). This option suppresses logging output--backtrace
: Print backtrace information. This option displays the backtrace information-h, --help
: Print help. This option displays the help information-V, --version
: Print version. This option prints the version information
You should read CONTRIBUTING first
All the code in this repository is released under Apache License 2.0 and MIT license