/webpages-to-ebook

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

Primary LanguageJavaScriptMIT LicenseMIT

Webpages to eBook

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

WgetReadabilityPandoc

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:.