Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 872 Bytes

File metadata and controls

17 lines (11 loc) · 872 Bytes

DomainSharp

CLI tool that, given a dictionary of words, checks which ones are legal domains and available.

How it works

Initially, the tool figures out which ones of the words are legal domains. For example, "victim" would be a legal domain since it matches with "vict.im".
Then, it filters the computed domains that are available for registration via an NS DNS query and outputs them to a file.

The tool implements transient error handling through Polly, which makes it suitable for flaky internet connections and long runs with hundreds of thousands of words.

Usage

head -n50 <(curl -s https://raw.githubusercontent.com/somegenericdev/DomainSharp/refs/heads/main/DomainSharp/words.txt) > words.txt
domainsharp -i words.txt -o output.txt