This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
cli-worm with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A simple CLI epub reader
Do you want to read an epub file, but you're too lazy to move your hand from the keyboard to the mouse?
Do you miss the good old days of reading the encyclopedia via an ncurses application?
Do you know what an encyclopedia is?
Then this app is for you!
nvm install node 8.9.4, but you can also install node directly. Google for your platform of choice
npm install -g cli-worm
cli-worm [--flags] <filePath>
--dumpdumpChapterList: prints a list of all chapters in the e-pub with each chapter separated by a new line charater and each line containing the chapter title and the path to the chapter within the e-pub separated by commas
--dumpFullText: dumps the entire text of all chapters in the book to the command line