rdrview
Extract main article content from a webpage (reader mode)
TLDR
SYNOPSIS
rdrview [*options*] *URL*
DESCRIPTION
rdrview extracts the primary article content from a web page, similar to the Reader View in modern browsers. The algorithm is adapted from Mozilla's Readability (itself based on Arc90's readability.js). Output is intended for terminal browsers such as lynx or for cleaner HTML archives, and is popular with terminal RSS workflows.On Linux, HTML parsing runs in a sandboxed subprocess using seccomp (Pledge on OpenBSD, Capsicum on FreeBSD) to reduce risk from hostile HTML. Dependencies include libxml2, libcurl, and the platform sandbox library.
PARAMETERS
*URL*
Page to fetch and process.-B *browser*
Browser/command used to display result (needed when no mailcap default exists).--disable-sandbox
Run without the sandbox (not recommended; required on some platforms without sandbox support).See man rdrview after install for the full option set of your build.
INSTALL
CAVEATS
Extraction quality varies by site layout and heavy client-side rendering. The tool is relatively young C code—prefer the sandboxed build. macOS may lack a sandbox implementation. Always be careful feeding untrusted URLs into local tools.
