# top-domain-list [![builds.sr.ht status](https://builds.sr.ht/~nin0/top-domain-list/commits/main/.build.yml.svg)](https://builds.sr.ht/~nin0/top-domain-list/commits/main/.build.yml?) 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](https://git.sr.ht/~nin0/bad-actors). ## Installation ```bash cargo install top-domain-list ``` ## Usage ``` Usage: top-domain-list [OPTIONS] Arguments: 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](https://lists.sr.ht/~nin0/public-inbox) (archives are not public).