- install nodejs.
- Install pnpm
sudo npm install -g pnpm
. - Run
pnpm setup
. - Reopen terminal.
- Install ts-node
pnpm install -g ts-node
. - Switch to project directory.
- Run
pnpm install
. - Run
ts-node index.ts -a
to generate all books. - Run
ts-node index.ts
to generate book with command line interaction. - Download generated epub from "output" directory.
- To fine-tune the book style, regenerate the book after editing the CSS properties in assets/css/base.css, such as line height and font color.
- Linux:
sioyek
orfoliate
. - Mac/Windows/Android/web:
Neat Reader
.