• Stars
    star
    183
  • Rank 210,154 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create an EPUB from a list of URLs. Standing on the shoulders of Wget, Readability and Pandoc.

Webpages to eBook

Create an EPUB from a list of URLs. Standing on the shoulders of

Wget โ†’ Readability โ†’ Pandoc

Create your own ebooks

Requirements

  • Node.js
  • NPM
  • Wget: wget has to be in PATH.
  • Pandoc: pandoc has to be in PATH.

Install

git clone https://github.com/georgjaehnig/webpages-to-ebook.git
cd webpages-to-ebook
npm install

Usage

  1. Create a definition, like the examples in definitions/.
  2. node index.js your-created-definition.yml [optional-definition-to-be-merged-with-the-first.yml]
  3. Find your EPUB in output/epub/.

Documentation

Examples

Also some structuring with raw HTML is possible, check definitions/library_of_scott_alexandria.yml and in there raw: and tags:/title:.