Skip to content

Tool that lets you read website content on the command line

License

Notifications You must be signed in to change notification settings

trashhalo/readcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tool that lets you read website content on the command line

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages