A set of tools for downloading novels from the web, manipulating text, and generating EPUB
You can download the compiled file from release, or compile it yourself
```shell
cargo install novel-cli
git clone https://github.com/novel-rs/cli cargo build --release ```
If you compile it yourself, you need the following dependencies:
If you are using Windows, you also need:
And requires Clang version below 16 on Windows(due to this)
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
shell
novel-cli [OPTIONS] <COMMAND> [COMMAND-OPTIONS] [ARGUMENTS]
shell
novel-cli download <bookid> --source <app-source> --format <output-format>
shell
novel-cli search --source <SOURCE> <KEYWORD>
download
: Download novels from various sources.search
: Search for novels on various sources.info
: Print information about a novel on various sources.read
: Read novel from various sources.bookshelf
: Show saved favorite novels on various sources.transform
: Convert markdown files to pandoc style.check
: Check the format and content of pandoc style markdown files.build
: Build a novel from pandoc style markdown files or an mdBook folder.zip
: Compress an epub folder.unzip
: Decompress an epub file.real-cugan
: Run the realcugan-ncnn-vulkan program.update
: Check for updates, download files from GitHub, and replace them.completions
: Generate shell completions to standard output.help
: 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