(sorry about the colors not matching)

  • SorteKanin@feddit.dkOP
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    19 days ago

    you can copy paste this link in your search bar to get it

    I never realized you could do this - feels like the frontend should just do the search and find the local post automatically when you click the link?

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      19 days ago

      We’d need some special syntax for fedi post links then, like there is for mentioning Lemmy communities. Otherwise there’s no way to know, if e.g. https://programming.dev is a Lemmy instance or some other random website.

      • SorteKanin@feddit.dkOP
        link
        fedilink
        arrow-up
        1
        ·
        19 days ago

        Do we though? Couldn’t it just do the search and if nothing comes up, then follow the link? Also does it only work for other Lemmy instances or does it also work for Mastodon posts or other fediverse services?

        • Ephera@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          19 days ago

          Well, yeah, you could rewrite every link that’s displayed. So, if someone links to https://the-link-you-want-to-go-to.com/, then your instance would basically make that link instead point to https://your-instance.com/outgoing?url=https://the-link-you-want-to-go-to.com/.

          And then your instance’s server would do the check and redirect you accordingly.

          But the downsides are then:

          • It’s slow. Instead of links opening directly, all of them need to redirect first.
          • It increases the server load.
          • It allows instances to track which links you click on. (And this is what such link rewriting is often used for. People here would absolutely riot.)

          And well, in theory there’s nothing stopping Lemmy from displaying posts from Mastodon or other Fediverse services. You can just request their data from the federated server via ActivityPub.

          In practice, though, it’s not always easy to display these posts in the UI of a different service. For example, Mastodon posts only show up on Lemmy, if the person who created the post tagged a specific Lemmy community, because you kind of want them to show up as part of a specific community.
          On the other hand, Kbin is a piece of software that federates well with Lemmy, because they offer a similar user experience, and of course a lot of development time got invested into ensuring compatibility.
          Federation with other Fediverse services are not supported yet, to my knowledge.

          • Blaze@reddthat.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            19 days ago

            Federation with other Fediverse services are not supported yet, to my knowledge.

            Mastodon-like (so all the Misskey forks) work too. Friendica too.

          • SorteKanin@feddit.dkOP
            link
            fedilink
            arrow-up
            2
            ·
            19 days ago

            Federation should work to some extent to any ActivityPub-supported app. There are others than kbin and Mastodon and I have seen some users on other platforms, like piefed.