Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 988 Bytes

README.md

File metadata and controls

39 lines (21 loc) · 988 Bytes

This isn't maintained, use one of these instead


readability-wrapper

A CLI wrapper for Mozilla's Readability.

Requires Node.js. I usually use the latest version (10.0.0 as of writing).

Install

To install globally with yarn: yarn global add readability-wrapper

To install globally with npm: npm install -g readability-wrapper

Usage

readability takes one or more arguments and parses each with Readability. Arguments can be either file paths or URLs. Cleaned HTML is printed to stdout.

readability will parse piped input if there are no arguments.

Examples

Parse a file: readability index.html

Parse a URL: readability https://example.com

Pipe cURL output: curl https://example.com | readability

Mix file paths and URLs: readability file1.html https://example.com/