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
![](https://github.com/trashhalo/readcli/raw/v0.0.2/sample.png)
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:
- Use go-readability to download a stripped down version of the website.
- Use html-to-markdown to convert the clean html to markdown.
- Use glamour to render the markdown content.
This limits the tool to only sites that pass go-readability.
Sites that work well
What about images in markdown content?
Stay tuned. https://github.com/trashhalo/imgcat/issues/11