pslr

Crates.iopslr
lib.rspslr
version1.0.2
created_at2025-10-03 22:01:57.095885+00
updated_at2025-10-03 22:25:43.046024+00
descriptionCommand-line tool for Public Suffix List interactions.
homepage
repositoryhttps://github.com/ryangjchandler/pslr
max_upload_size
id1867244
size356,678
Ryan Chandler (ryangjchandler)

documentation

README

pslr

A small binary wrapper around the publicsuffix crate that outputs suffixes and registrable domains based on data provided by publicsuffix.org.

Installation

Cargo

cargo install pslr

Manual installation

Find the latest release and download the associated binary for your platform, placing the extracted binary somewhere in your $PATH.

Usage

Get the suffix of a name

$ pslr --suffix www.example.com
com

Get the registrable domain of a name

$ pslr --domain www.example.com
example.com

Use a custom suffix list

$ pslr --list ./path/to/list.dat --suffix www.example.com

Credits

Commit count: 0

cargo fmt