https://github.com/hrbrmstr/webfinger-rust
👌 🦀 Bare bones WebFinger CLI in Rust
https://github.com/hrbrmstr/webfinger-rust
rust rust-lang webfinger webfinger-client
Last synced: about 1 month ago
JSON representation
👌 🦀 Bare bones WebFinger CLI in Rust
- Host: GitHub
- URL: https://github.com/hrbrmstr/webfinger-rust
- Owner: hrbrmstr
- License: mit
- Created: 2022-11-09T11:08:22.000Z (almost 3 years ago)
- Default Branch: batman
- Last Pushed: 2022-11-09T11:08:40.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T02:47:34.524Z (9 months ago)
- Topics: rust, rust-lang, webfinger, webfinger-client
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
webfinger
================Bare bones Rust [WebFinger](https://www.rfc-editor.org/rfc/rfc7033)
client.``` bash
cargo run --release acct:hrbrmstr@rud.is
```Finished release [optimized] target(s) in 0.05s
Running `target/release/webfinger 'acct:hrbrmstr@rud.is'`{"subject":"hrbrmstr@rud.is","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\/"}]}
``` bash
cargo run --release -- --pretty acct:hrbrmstr@rud.is
```Finished release [optimized] target(s) in 0.05s
Running `target/release/webfinger --pretty 'acct:hrbrmstr@rud.is'`
{
"subject": "hrbrmstr@rud.is",
"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\/"
}
]
}