#html #search #grep #find

bin+lib htmlgrep

htmlgrep is a suite of tools for searching HTML documents

5 unstable releases

Uses old Rust 2015

0.3.1 Dec 3, 2019
0.3.0 Mar 23, 2019
0.2.2 Mar 19, 2019
0.2.0 Mar 17, 2019
0.1.0 Mar 17, 2019

#147 in #grep

ISC license

17KB
598 lines

htmlgrep is a suite of command-line tools for searching HTML documents, that allows selecting elements by various types of selectors.

It currently only provides a single utility program:

  • css(1)

The tools are built with the HTML tree manipulation library Kuchiki (朽木), which uses the same HTML parser as the Servo browser engine.

Please see the website for usage instructions:

https://git.sny.no/htmlgrep/about/

To build everything, ensure you have the stable Rust toolchain installed:

make

Tests can be run this way:

make test

Dependencies

~4.5MB
~88K SLoC