2 unstable releases

0.2.0 Sep 7, 2023
0.1.0 Sep 1, 2023

#981 in Command line utilities

39 downloads per month

GPL-3.0-or-later

21KB
110 lines

top-domain-list

builds.sr.ht status

cli tool for cleaning up a list of domains, keeping only the top ones to avoid redundancy.

I use it for git.sr.ht/~nin0/bad-actors.

Installation

cargo install top-domain-list

Usage

Usage: top-domain-list [OPTIONS] <PATH>

Arguments:
  <PATH>  Path to a file containing a list of domains (one per line)

Options:
  -t, --tld   Consider lines without dot as TLD (and removes lower levels)
  -h, --help  Print help

Contact

You can send me an email here : lists.sr.ht/~nin0/public-inbox (archives are not public).

Dependencies

~1.3–2MB
~37K SLoC