URL for a bluesky account bridged to the fediverse#1529
Conversation
Returns an url from https://bsky.drid.gy/r/* for any bridged bluesky account.
|
It's a bit tricky because of how Mastodon handles user mentions that actually open in the UI. See #887 (comment) for technical details. In theory it's feasible though. Since Bridgy Fed would be the target 'instance' of the mention here, it could filter out these messages somewhat easily in cases where they would have any effect when received by the bridge. It's probably somewhat involved though. |
|
Thanks for the contribution @frzysk! @Tamschi is right, the goal here is to link to the bridged account, not the original account, so we'd want to link these addresses so that they open the bridged fediverse profile in the local instance, a la #887. That's proved pretty difficult so far. We have a lead on how to do it though, described at the bottom of that issue. Feel free to try! (Btw you shouldn't need a Google account, or any other account, to download and install the Google Cloud SDK so that you can run tests.) |
|
Thanks for the answers! I'll see if I have the time/energy to, someday |
|
I'll convert this into a draft for now, just so it's easy for us to see that the PR is a work in progress. Feel free to convert it back once the PR is ready for review! |
hi hello
This is mostly a proposal made as a pull request because I don't know the source code of bridgy-fed or the protocols much, and because I couldn't make a Cloud SDK account to modify and run the tests sowwy. So there's probably things to change.
I've seen that for the message
@blueskyuser@bsky.brid.gy is already bridged into the fediverse.(that I received on fedi about a bluesky profile), the user wasn't a link. That made me sad so I tried to modify that.I added ActivityPub.bridged_web_url_for() that works for any BlueSky account and returns a url like
https://bsky.brid.gy/r/https://bsky.app/profile/blueskyuser.bsky.social. That's the type of url I get if I post something mentioning a bsky.brid.gy account from the fediverse.The code I added is way smaller than this description
thanks :))