Juerd / tootpick

Link target for Mastodon "share buttons"
https://tootpick.org
GNU Affero General Public License v3.0
59 stars 5 forks source link

Suggestion: make it Fediverse ready #4

Open roelfrenkema opened 1 year ago

roelfrenkema commented 1 year ago

It would be nice if it could do Friendica and Diaspora too.

Juerd commented 1 year ago

roelfrenkema skribis 2023-01-08 7:40 (-0800):

It would be nice if it could do Friendica and Diaspora too.

It would, and I would be interested in reviewing a PR that adds that functionality, but I'm personally not going to spend the spoons because Friendica and Diaspora aren't used enough for it to be worth it for me.

The software can be detected by querying /.well-known/nodeinfo and then querying the url from there. There's a "bookmarklet" endpoint that can probably be used like the Mastodon share endpoint. I don't know if that works without a separate url field. And I don't know how these webservers support having a different hostname for fediverse handles than for the web interface, and if the webfinger detection that I hacked for Mastodon would work or if it requires something different.

And even if Friendica and Diaspora were supported, it is still not "Fediverse ready" because there are still many other Fediverse services. Pleroma doesn't seem to have a share web endpoint, GoToSocial doesn't have a web interface for end users at all, and I haven't even looked into Hubzilla yet. Before any share button can be "Fediverse ready", the Fediverse needs to get "share button ready" first :)

Leaving this issue open in case someone's interested in having a go at implementing it.