mozilla-readability-cli
A CLI for Mozilla Readability. Supports sanitization.
Last updated 21 days ago by laana .
Unlicense · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mozilla-readability-cli 
SYNC missed versions from official npm registry.

readability-cli

A CLI for Mozilla's Readability.

Install

To install globally with yarn:

yarn global add mozilla-readability-cli

To install globally with npm:

npm install -g mozilla-readability-cli

Usage

# run readability --help for the latest version, I just copy it here once in a while.

Usage: readability [options] <url>

Sanitizes stdin, parses the result with Mozilla Readability, somewhat sanitizes the output again, and finally print it to stdout. Note that you need to also specify the URL in addition to feeding us the HTML in stdin. Using an empty URL seems to work though.

Options:
  -V, --version  output the version number
  -h, --help     display help for command

Examples

curl https://example.com | readability https://example.com

Current Tags

  • 0.2.2                                ...           latest (21 days ago)

3 Versions

  • 0.2.2                                ...           21 days ago
  • 0.2.1                                ...           21 days ago
  • 0.2.0                                ...           21 days ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 31
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |