webfinger
Bare bones Rust WebFinger client.
cargo run --release acct:[email protected]
Finished release [optimized] target(s) in 0.05s
Running `target/release/webfinger 'acct:[email protected]'`
{"subject":"[email protected]","aliases":["https:\/\/rud.is\/b\/author\/hrbrmstr\/","https:\/\/mastodon.social\/@hrbrmstr","https:\/\/mastodon.social\/users\/hrbrmstr","https:\/\/infosec.exchange\/@hrbrmstr","https:\/\/infosec.exchange\/users\/hrbrmstr"],"links":[{"rel":"self","type":"application\/activity+json","href":"https:\/\/rud.is\/b\/author\/hrbrmstr\/"},{"rel":"http:\/\/webfinger.net\/rel\/profile-page","type":"text\/html","href":"https:\/\/rud.is\/b\/author\/hrbrmstr\/"}]}
cargo run --release -- --pretty acct:[email protected]
Finished release [optimized] target(s) in 0.05s
Running `target/release/webfinger --pretty 'acct:[email protected]'`
{
"subject": "[email protected]",
"aliases": [
"https:\/\/rud.is\/b\/author\/hrbrmstr\/",
"https:\/\/mastodon.social\/@hrbrmstr",
"https:\/\/mastodon.social\/users\/hrbrmstr",
"https:\/\/infosec.exchange\/@hrbrmstr",
"https:\/\/infosec.exchange\/users\/hrbrmstr"
],
"links": [
{
"rel": "self",
"type": "application\/activity+json",
"href": "https:\/\/rud.is\/b\/author\/hrbrmstr\/"
},
{
"rel": "http:\/\/webfinger.net\/rel\/profile-page",
"type": "text\/html",
"href": "https:\/\/rud.is\/b\/author\/hrbrmstr\/"
}
]
}