As the title says, is it possible to choose to open the Lemmy links (for example https://lemmy.ml/postXYZ) directly in the Lemmur app instead of in browser?

  • rhymepurple
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    I don’t think it’s currently possible.

    Android apps are able to open links via the Open supported links functionality within the app’s App info screen (where you would go to manage the app’s permissions, notifications, etc.). You can even toggle the functionality by various domains or subdomains per app.

    However, I think the app needs to declare what links it supports. I’m not aware of a way to add supported links for the user to toggle on/off once the app is installed.

    Assuming that’s accurate, it also leads to the question - how would Lemmur handle various Lemmy instances? It could obviously include https://lemmy.ml or other large instances, but I doubt the developers want to support every small/private instance.

      • rhymepurple
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        If the desired functionality is “Lemmur should directly/seamlessly open the Lemmy link anytime a Lemmy link is clicked, regardless of what app the link was clicked from” then I believe the domain needs to be added as a “Verified Link” within the app which requires some work within both the Lemmur app and each supported domain. I’m not sure how challenging it would be coordinating and maintaining all of the Verified Links, but it seems more work is needed beyond just a community list.

        However, if the desired functionality is “Lemmur can be requested to open any Lemmy link that was already opened in the web browser” or “any Lemmy link clicked from within the Lemmur app should open directly in the Lemmur app without leaving the app” then I think a (well maintained) community list of public instances would be rather helpful in implementing this functionality.

        I’m not sure if any of the above functionality is planned - it would definitely be nice to see though!

          • rhymepurple
            link
            fedilink
            arrow-up
            1
            ·
            3 years ago

            I don’t think we’re talking about the same functionality. I can’t get NewPipe to open YouTube links by default from any app seamlessly. I can only share to or request to open YouTube links in NewPipe once I’ve already loaded the page in the browser. Maybe I’m doing something wrong though?

            It seems like there is some back and forth about this topic on this Github issue.

              • rhymepurple
                link
                fedilink
                arrow-up
                3
                ·
                3 years ago

                I messed with it some more and it seems to be working now for me too.

                It would be really nice to see this in Lemmur.

          • leo_mantovaniOP
            link
            fedilink
            arrow-up
            1
            ·
            3 years ago

            Yeah I was thinking about PeerTube too, but @rhymepurple is right about the multiple instances problem… In fact PeerTube currently handles only YouTube.com and Framatube.org links…

    • leo_mantovaniOP
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      Oh, right, I didn’t think about the fact that Lemmur should include a “handle this link” for every Lemmy instance… Maybe developers could start supporting major instances (such as Lemmy.ml) and then progressively add more instances when user suggest them? I don’t know…