Skip to content
forked from jjsisjjz/kepub

Crawl novels from esjzone, ciweimao and sfacg. Generate epub from txt file

License

Notifications You must be signed in to change notification settings

hhvvhvugugu/kepub

 
 

Repository files navigation

kepub

Build Platform Coverage Status GitHub Releases GitHub Downloads GitHub License 996.icu


Crawl novels from esjzone, ciweimao and sfacg. Generate epub from txt file

Environment

  • Debian 11
  • GCC 11 or Clang 13

Dependency

Font

Build

cmake -S . -B build
cmake --build build --config Release -j"$(nproc)"

Install

sudo cmake --build build --config Release --target install

Uninstall

sudo cmake --build build --config Release --target uninstall

Usage

addition

Add new chapter to EPUB file

When using, the current directory must have an EPUB file with the same name

addition book-name.txt

Txt files need to be preprocessed: each volume starts with [VOLUME] plus a space; each chapter starts with [WEB] plus a space; pictures start with [IMAGE] plus a space, followed by the picture number.

kepub

Generate EPUB file according to the given TXT file

kepub book-name.txt

Txt files need to be preprocessed: the author starts with [AUTHOR] and a newline character; the introduction starts with [INTRO] and a newline character; the postscript starts with [POST] and a newline character; each volume starts with [VOLUME] plus a space; each chapter starts with [WEB] plus a space; pictures start with [IMAGE] plus a space, followed by the picture number.

esjzone

Crawl the novels on esjzone and generate TXT files, then you can use kepub to generate EPUB files

The first command line parameter is book id

esjzone 1578022447

ciweimao

Crawl the novels on ciweimao and generate TXT files, then you can use kepub to generate EPUB files

The first command line parameter is book id

ciweimao 100194379

sfacg

Crawl the novels on sfacg and generate TXT files, then you can use kepub to generate EPUB files

The first command line parameter is book id

sfacg 263060

Thanks to JetBrains for donating product licenses to help develop this project

About

Crawl novels from esjzone, ciweimao and sfacg. Generate epub from txt file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.6%
  • Other 0.4%