← 全部工具

mrusme/reader

热度 70 更新于 开发与构建

reader is for your command line what the “readability” view is for modern browsers: A lightweight tool offering better readability of web pages (and EML files!) on the CLI. (https://tty.fail/mrus/reader)

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

reader

LICENSE](https://img.shields.io/static/v1?label=SEGV%20LICENSE&message=1.1&labelColor=0060A8&color=ffffff)](https://xn--gckvb8fzb.com/segv/)

<img src="https://xn--gckvb8fzb.com/images/chatroom.png" width="275"

reader is for your command line what the “readability” view is for modern browsers: A lightweight tool offering better readability of web pages on the CLI.

reader parses a web page (or an EML file) for its actual content and displays it in nicely highlighted text on the command line. In addition, reader renders embedded images from that page as colored block-renders on the terminal as well.

Installation

go install xn--gckvb8fzb.com/reader@latest

If the above fails, then the following should work:

git clone https://tty.fail/mrus/reader.git
cd reader
go install

Usage

reader https://xn--gckvb8fzb.com/superhighway84/

Don't render images:

reader --image-mode none https://xn--gckvb8fzb.com/superhighway84/

Output raw markdown, don't pretty print:

reader -o https://xn--gckvb8fzb.com/superhighway84/

Read from file:

reader ${HOME}/downloads/example.com.html

Read from stdin: