A simple script that generates an EPUB from a single URL, zero-config
Go to file
Nemo 83e383b003 v1.1.0 2020-01-15 19:17:49 +05:30
.gitignore initial commit 2020-01-08 02:26:50 +05:30
LICENSE v1.0.0 2020-01-11 00:55:17 +05:30
README.md v1.0.0 2020-01-11 00:55:17 +05:30
TODO.md v1.0.0 2020-01-11 00:55:17 +05:30
generate.js Adds support for cover image and title 2020-01-15 19:13:56 +05:30
index.js Adds support for cover image and title 2020-01-15 19:13:56 +05:30
package-lock.json v1.1.0 2020-01-15 19:17:49 +05:30
package.json v1.1.0 2020-01-15 19:17:49 +05:30

README.md

url-to-epub

A simple script that generates an EPUB from a single URL, taking care for the following:

  1. Cover Image
  2. Readability
  3. Standard-compliance metadata (and Author information)

Installation

You will need pandoc and npm installed. To install this script globally:

npm install --global url-to-epub

Please make sure that the global node_modules/bin directory is added to your PATH. You can check that directory by running npm bin --global.

Usage

url-to-epub <url>

Generate EPUB file from URL

Positionals:
  url  The URL to download                                   [string] [required]

Options:
  --version     Show version number                                    [boolean]
  -h            Show help                                              [boolean]
  --output, -o  Output file to save EPUB  [string] [default: "url-to-epub.epub"]

Examples:
  url-to-epub -o articulated-restraint.epub
  "https://www.tor.com/2019/02/06/articulated-restraint-mary-robinette-kowal/"

License

Licensed under the MIT License. See LICENSE file for details.