5 ms·
I have a question that I was hoping the video would answer, but I didn't see. The Fediverse is always described with that interconnected diagram where everythin
by discardedrefuse 3y ago
I have a question that I was hoping the video would answer, but I didn't see. The Fediverse is always described with that interconnected diagram where everything talks to each other over ActivityPub. But I never see that in practice.
For example: If I have a mastodon.social account, how does that work with pixelfed.social or tube.jenna.net? Do I use my mastodon.social account to sign up to those other services? Or to follow users on those other services? How do the clients handle the fact that they are different services?
- BigTuna 3y agoIf pixelfed and mastodon are federated with each other, you should be able to view users and posts from both sites on either site - no need to sign up for both.
- CuriousCosmic 3y agoYou just follow those users at their @user@pixelfed.social or @user@tube.jenna.net handle. Depending on the service you are using there can be caveats (I think pixelfed only tracks new content from mastodon after you follow the user) but otherwise it "just works". caveat: This only works as long as your instance hasn't de-federated those instances.
- gpm 3y agoYou use your mastodon account to tell your mastodon instance to follow a user on the pixelfed.social instance. Your mastodon instance starts getting a feed of all the posts by that user from the pixelfed.social instance and displaying them to you in your mastodon timeline as if they were mastodon posts. This works because while pixelfed and mastodon and tube.jenna.net display things differently, the things they are displaying are in fact very very similar. Posts by users, consisting of maybe a video, maybe an image, maybe a reference to a post they're replying to, and some text. Ultimately it will be up to the individual implementation what to do with posts that are different enough that they can't figure out a reasonable way to display them.
- nightpool 3y ago> The Fediverse is always described with that interconnected diagram where everything talks to each other over ActivityPub. But I never see that in practice. Not sure what you mean by this—it definitely comes up a lot in practice. The top story on HN right now is an example of this in practice—it's a post from social.hackerspace.pl, which has been shared to all of the users followers on different servers. You can take a quick look at the list of reblogs on that post to see how many different servers users use: https://social.hackerspace.pl/@q3k/111528162462505087/reblogs https://social.hackerspace.pl/@q3k/111528162462505087/reblog... I count 17 different servers in the first 20 users listed. Many of these are deployments of Mastodon or Akkoma, but they're all completely separate servers talking to each other over ActivityPub > For example: If I have a mastodon.social account, how does that work with pixelfed.social or tube.jenna.net? You can use your account and client on mastodon.social to follow accounts on tube.jenna.net and pixelfed.social. These accounts are displayed inside of the mastodon.social UI. You don't "sign up" for those instances in any way, they're just an integrated part of your following feed. > How do the clients handle the fact that they are different services? There is no special logic needed from clients. For Mastodon specifically, the local server that you're following from will handle the logic of translating the ActivityPub JSON sent by other services into the more limited "Mastodon API" format that clients expect. This has pros and cons—it means that clients are able to handle a more limited and predictable set of posts, but it also means that some remote content gets "squished" down into that format, just like e.g. viewing a blog inside of an RSS reader. Other clients generally use their own similar domain-specific API format
- dingnuts 3y agoone correction: the Mastodon API is actually more expansive than ActivityPub, not more limited. Pleroma and Misskey implement additional protocols on top of ActivityPub, like WebFinger, in order to be able to federate with Mastodon properly >it also means that some remote content gets "squished" down into that format this is true but it's usually content going the other way: FROM a Mastodon instance TO something like WriteFreely that isn't a Twitter clone
- nightpool 3y ago
- rsolva 3y agoYou can't (yet?) log in at other websites, but you can follow anyone from any fediverse service. I follow accounts from PixelFed and PeerTube on my own self-hosted version, which feels very web native and self evident when you get used to it.
- kstrauser 3y agoIt’s federated like email. If you have a Gmail account, you can talk to people with a Yahoo account. You can’t use your Gmail account to log into another server, though, unless that server adds code to specifically support it. They’re separate servers operated by separate entities.
- myaccountonhn 3y agoThere are some initiatives that are doing more what you are looking for, vocata and activitypod. These treat activitypub more like a modern email server, that recieves and sends activities to different federated servers. In a world where those would be used, "apps" would just subscribe to the activities that interest them, and you would be one user that adds apps to your system. You'd be able to have something closer to google suite, where your calendar app can display notes from your note app, or your notes app could display shared notes, comments etc. Today though, most of the big activitypub players decided to implement their own activitypub server and don't really follow the protocol to the letter, so unfortunately it's not as interoperable as it could be. You also need to have an account for each service, which is unfortunate.
- esbranson 3y agoActivityPub would not appear to be a focus for the mainline Mastodon team. My tests show that most ActivityPub endpoints of the main Mastodon server software are not CORS enabled so are unreachable by webapps. They are public endpoints and should obviously be CORS enabled. For a HTTP-based protocol, this is a glaring oversight. (It's fixed by at least some other Mastodon servers like Glitch.) Most other ActivityPub implementations correctly enable CORS. CORS is just an example of the treatment that ActivityPub gets.
- dingnuts 3y agoThe ActivityPub endpoints are not CORS enabled because requests to those endpoints are supposed to come from homeservers, not from users' clients. That's the server-to-server protocol, not the client-to-server protocol.
- esbranson 3y agoMastodon devs admit some endpoints should be CORS enabled, and did so. Whatever you do to make this fact "fit" your logic should be extended to the other endpoints. Glitch already extended it.
- spadufed 3y agoI haven't seen anybody else talk about what the experience of following somebody from another service is like on the user-end. Following pixelfed accounts from Mastodon is actually fairly straightforward. You simply see them as a tweetlike message with an image attached. One caveat there is that Mastodon does not allow for as many attached images as pixelfed, and I believe will simply drop any images after a certain point (I want to say max size is 4). Following a peertube account or channel (you can do either) will show a post whenever new videos are uploaded. You can find the OP on mastodon at https://mastodon.social/@jeena@tube.jeena.net https://mastodon.social/@jeena@tube.jeena.net. One neat bit of functionality is that if you put all of your peertube follows into a single list, you've basically got a chronological subscribed page (a la youtube). Also take note that comments can be left on either the peertube site or from within mastodon.