I know this is more of a QoL type of feature, but down the road it would be nice to possibly have a safari extension for Lemmy links. It’s annoying to click on a link, and for it to go to the website instead of memmy. I don’t know if it’s possible, because I think Apollo hijacked the reddit open in app link. BUTTTT 🤞🏻 🤞🏻🤞🏻hopefully it’s possible
My understanding is that this is possible under iOS. Hopefully the devs get the app to the point where it’s stable enough to focus smaller side tasks like this. :)
This is something I'd love to do, but I need to figure out the best way to do it. I've never done one before, but I'm sure I could figure that part out.
My question is how do I actually know if something is a Lemmy link? Do I just see if the URL matches /c/.... or /u/....? This doesn't seem great because I'm sure other sites are using the same thing.
I could also do a bit deeper of a check, see if it's /u/something or even /u/something@something, but this would still be sketchy at best in my opinion.
If anyone has any ideas, I'll happily hear them out. It's something I want to do as well.
Unfortunately the thing about this is that it requires you have access to the server. You have to add a site association to your web server which wouldn’t work in this case. I could possibly do something with an extension though that redirects you from that site to memmy.app which would then open the app.
The problem still though is how to actually identify a link. Just checking for /u/ or /c/ is unreliable. /post/ is slightly more reliable but I still feel like it might not be. I’d need to see how many popular services are using something like that.
Oh hi, thanks for the app! Since you’re here, might I suggest messing around with the ‘up/downvote’ slide animation? I dunno why, but it feels almost…sluggish compared to Apollo as the vote arrow goes back into place.
You press a link that contains /post/, Memmy communicates with Memmy.app to retrieve that list
Try to retrieve the post from the instance it is on (looks like the script uses the same idea that I figured would be correct, which is to just use the /post endpoint)
Send a search request to your instance with that post title and username as that user