{"repo":"eafer/rdrview","free":true,"listed":false,"github":"https://github.com/eafer/rdrview","clone":"git clone https://github.com/eafer/rdrview.git","description":"Firefox Reader View as a command line tool","language":"C","stars":937,"topics":["lynx","firefox","links","newsbeuter","newsboat","rss","linux","freebsd","openbsd","html"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"rdrview Command line tool to extract the main content from a webpage, as done by the \"Reader View\" feature of most modern browsers. It's intended to be used with terminal RSS readers, to make the articles more readable on web browsers such as lynx. The code is closely adapted from the Firefox version and the output is expected to be mostly equivalent. Security This tool is young and written in C, so it's reasonable to wonder about the potential for memory issues. To be safe, all HTML parsing happens inside a sandboxed subprocess. Seccomp is used for this purpose on Linux, Pledge on OpenBSD, and Capsicum on FreeBSD. Usage Linux There are three direct dependencies: libxml2, libseccomp and libcurl. On Debian/Ubuntu, you can install the first two by running (as root): apt install libxml2-dev libseccomp-dev The libcurl package comes in different flavours, depending on the backend that provides the SSL support. Any of them will do. To install the GnuTLS version: apt install libcurl4-gnutls-dev For rdrview to be useful, you should also get a character mode web browser such as lynx: apt install lynx The name of the packages might differ in your distribution. On Fedora, for example, you can install everything with: dnf install libcurl-devel libxml2-devel libseccomp-devel lynx To build rdrview , just cd to its directory and run make Now it should be ready to be used. You can try: ./rdrview 'https://github.com/eafer/rdrview' For more information, see the man page: man ./rdrview.1 If you","default_branch":null,"files":null,"tree":[],"storefront":"/r/eafer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/eafer/rdrview/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}