Sign Up for Free

RunKit +

Try any Node.js package right in your browser

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:

var cliWorm = require("cli-worm")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

cli-worm v0.1.3

an epub reader for the command line

cli-worm

A simple CLI epub reader

DepShield Badge

Description

  • 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!

Alt text

Prerequisites

  • w3m
  • nodeJS (>= 10.19.0)
    • I recommend first installing nvm first, then simply running, nvm install node 8.9.4, but you can also install node directly. Google for your platform of choice

Installation Instructions

npm install -g cli-worm

Usage

cli-worm [--flags] <filePath>

flags

  • --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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free