I stumbled on a plugin to add webfinger
info to my web site, so I installed it and….what now? It seems to work fine, but what the heck is webfinger
good for?
@abucci@anthony.buc.ci Did you miss #33jt3fa and the subsequent twts in that yarn? 🤔
I guess in general though, it’s a pretty good lookup mechanism. I also wrote a command-line tool webfinger
you can intall with go install go.mills.io/webfinger/cmd/webfinger@latest
and use like this:
webfinger prologic@twtxt.net
I guess its usage in Twtxt clients could be something like this:
$ webfinger prologic@twtxt.net | jq -r '.links[] | select(.rel=="Self").href'
2023/01/06 02:32:40 Looking up WebFinger data for acct:prologic@twtxt.net
2023/01/06 02:32:40 GET https://twtxt.net/.well-known/webfinger?resource=acct%3Aprologic%40twtxt.net
https://twtxt.net/user/prologic/twtxt.txt
Where a lookup of user@domain would yield the Twtxt feed for that user+domain pair.
@abucci@anthony.buc.ci You can, however that is not a lookup mechanism, more of a publishing standard. And yes all profile pages in yarnd
implement this, as well as all feeds and the main frontpage discover feed too 👌
Use Preview to check this out on any frontpage of a pod or profile page 👌
I always thought that was pretty elegant because you don’t need to host yet another discovery service and deal with all the maintenance and security headaches that entails. You just need a stable domain name and a web site you control.
@abucci@anthony.buc.ci This is a little different though 😆
@abucci@anthony.buc.ci Yeah and I guess the nice thing is acct:
could mean anything I guess