/bionic-epub

bionic-epub is a Node.js command-line tool to apply Bionic Reading styles to .epub file

Primary LanguageJavaScript

bionic-epub

📔 bionic-epub is a Node.js command-line tool to apply Bionic Reading styles to .epub file which can help you to read faster⚡🌠 and focus more easily🌳⏳

effects

Original

Original

BionicC (Default)

Bionic

BionicB (--black)

BionicB

how to use it

install dependencies

npm i

default colorful style

node ./index.js <epubPath>

black style

node ./index.js <epubPath> --black

how to get a pdf version

  1. install Calibre
  2. use ebook-convert command (make sure the environmental variable path is correctly added)
ebook-convert <inputPath>.epub <outputPath>.pdf

notice: pandoc would not keep the color by default

testing

  • Calibre passed ✅
  • NeoReader by Boox passed ✅
  • some epub viewers not passed yet

customization

  • boldColors
  • unfocusedOpacity