(sorry about the colors not matching)

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months 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.

    • DarkThoughts@fedia.io
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      Any sort of !fediverse.link should just automatically be translated into whatever instance & software you’re using imo.

    • SorteKaninOPA
      link
      fedilink
      arrow-up
      1
      ·
      5 months 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
        5 months 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
          ·
          5 months ago

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

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

        • SorteKaninOPA
          link
          fedilink
          arrow-up
          2
          ·
          5 months 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.