snarfed / bridgy-fed

🌉 A bridge between decentralized social network protocols
https://fed.brid.gy
Creative Commons Zero v1.0 Universal
550 stars 29 forks source link

Web sign-up: detect native AP servers #911

Open sysadminpower2019 opened 6 months ago

sysadminpower2019 commented 6 months ago

Hello,

So castopod should be available via ActivityPub but when i try to use the bridgy-fed website it gives me an error. Couldn't connect to ......: 400 Bad Request: Couldn't find a representative h-card (http://microformats.org/wiki/representative-hcard-parsing) on .....

snarfed commented 6 months ago

Hi! If you want to use Bridgy Fed from the fediverse, you don't need to use the https://fed.brid.gy/ web site, you can follow a site directly from the fediverse: https://fed.brid.gy/docs#fediverse-follow

Otherwise, let me know specifically what you're hoping to do, and I can try to help.

qazmlp commented 5 months ago

I think they were trying to use Bridgy Fed (web.brid.gy that is) to bring a Castopod podcast into the Fediverse, but Castopod is ActivityPub-native software and doesn't expose an hCard, so Bridgy isn't necessary and also doesn't work for that.

Maybe it would be helpful to detect an existing AP actor at the URL and direct users to subscribe to it instead, where available.

snarfed commented 5 months ago

Ah, good guess! And good suggestion. I guess I'd just point them to https://fed.brid.gy/docs#fediverse-follow

snarfed commented 5 months ago

Related to https://github.com/snarfed/bridgy-fed/issues/348 , arguably the same if we expand it a bit.

sysadminpower2019 commented 5 months ago

my thought was you had to submit the site to have it be 'activated' for my other site that has AP support, it said if i wanted to use my 'real domain' I had to make some DNS changes which in any case didn't it seems

snarfed commented 4 months ago

Related to #1025

snarfed commented 2 months ago

This may subsume #348?

snarfed commented 1 month ago

Yeah I think this is the same as #348.

Specifically, in Web.get_or_create, we'd fetch host-meta, look for a webfinger endpoint, and fail if it exists.