this post was submitted on 17 Jul 2023
22 points (92.3% liked)

Connect for Lemmy App

2768 readers
11 users here now

A community for the mobile app Connect for Lemmy.

Links

founded 2 years ago
MODERATORS
 

I was trying to add most of my reddit subs to lemmy. But it is redirected to the website.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] provomeister 2 points 2 years ago* (last edited 2 years ago) (1 children)

Can it be configured to intercept but not launch the app automatically? I'm on Android using the DDG Private Browser and can manually open in the app or use the browser. Is it application or browser dependent?

Unfortunately, without a proper way to open all instances of Lemmy in an app, this will deter some from this platform.

[โ€“] mp3 5 points 2 years ago

The only way I can see a federated system like this to open links reliably and constantly would be to avoid dealing with hostnames, and instead define a protocol handler.

Similar to how email client works. You email client is set-up with your mail provider, and the OS will handle the protocol and pass that info to the client

ie: mailto:[email protected]?subject=Hello&body=Test will make your email client make a new email to be sent to [email protected], with the Title Hello and Test as the email's body.

Something for Lemmy could be make such as lemmy://[[email protected]](/c/[email protected]) to make you open that community in the Lemmy app of your choice. The syntax and parameters could be different than what email defines, I'm just setting an example. Parameters could be made to send a DM to another user, set up filters, sort order, etc.

Using a protocol handler would make home instance irrelevant and redirections wouldn't be necessary, as the client/app would do all the heavy lifting.