A 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.
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.
Rich is a Python library for rendering rich text and beautiful formatting to the terminal.
The Rich API makes it easy to add colorful text (up to 16.7 million colors) with styles (bold, italic, underline etc.) to your script or application. Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, and tracebacks -- out of the box.
UTF-8 enabled. Does word wrapping and justification. Markdown rendering. Exports a print() function virtually identical in usage to Python's regular one. Console objects can be instantiated to give more control over what is displayed.
E-Nabling the Future is a community of makers, 3D printing hackers, and makers who design, build, and manufacture prosthetic hands and arms for children.
4983 links, including 378 private