/readcli

Tool that lets you read website content on the command line

Primary LanguageGoMIT LicenseMIT

readcli

Tool that lets you read website content* on the command line.

Usage

readcli https://medium.com/compass-true-north/go-unit-testing-at-compass-3a7cb85ab54a

Install

homebrew

brew install trashhalo/homebrew-brews/readcli

prebuilt packages

Prebuilt packages can be found at the releases page

Website Content

The algorithm is as follows:

  1. Use go-readability to download a stripped down version of the website.
  2. Use html-to-markdown to convert the clean html to markdown.
  3. Use glamour to render the markdown content.

This limits the tool to only sites that pass go-readability.

Sites that work well

  • Any medium post

What about images in markdown content?

Stay tuned. trashhalo/imgcat#11