readcli

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 12 Imported by: 0

README

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. https://github.com/trashhalo/imgcat/issues/11

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL