this post was submitted on 26 Jan 2022
7 points (100.0% liked)

lemmur

2 readers
1 users here now

Community dedicated to discussions around a mobile lemmy client

Code repository: github.com/LemmurOrg/lemmur

Contribute translations: Weblate

Download for your device:

Support development:

Before asking for help with a problem make sure you've read the FAQ

founded 3 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] rhymepurple@lemmy.ml 3 points 2 years ago (2 children)

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.

[–] Echedenyan@lemmy.ml 3 points 2 years ago* (last edited 2 years ago) (1 children)

Community list of public instances for that?

[–] rhymepurple@lemmy.ml 3 points 2 years ago (1 children)

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!

[–] Echedenyan@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (2 children)

The work is only needed at Lemmur side in your first parragraph.

Such as is done by NewPipe.

[–] leo_mantovani@lemmy.ml 1 points 2 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...

[–] rhymepurple@lemmy.ml 0 points 2 years ago (1 children)

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.

[–] Echedenyan@lemmy.ml 1 points 2 years ago (1 children)
[–] rhymepurple@lemmy.ml 1 points 2 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_mantovani@lemmy.ml 3 points 2 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...