this post was submitted on 01 Jul 2023
17 points (100.0% liked)

Memmy - An iOS client for Lemmy

2536 readers
1 users here now

Download on the App Store

View on GitHub

Join the Discord

Code of Conduct

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] gkd 2 points 1 year ago (1 children)

Yup, looks like pretty much exactly what I was considering.

As a matter of fact, the idea of just having a preset list of instances looks really good too. What I might do is this:

  1. Maintain a list of instances at https://memmy.app/allInstances.json
  2. You press a link that contains /post/, Memmy communicates with Memmy.app to retrieve that list
  3. 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)
  4. Send a search request to your instance with that post title and username as that user
  5. Redirect you to that post

We will see how it works out.

[–] RustedSwitch 1 points 1 year ago (1 children)

Would that json be something the community could contribute to?

[–] gkd 2 points 1 year ago

The instance list? There are a few publicly available scripts to do this (actually you can visit https://memmy.app/instances.json to see how I'm retrieving the instance info for onboarding. I'm only retrieving a few of them right now while we wait on Apple to review the initial app).

Could just do the same thing for all instances and only retrieve the name and URL for them.