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

    • @gkd
      link
      English
      21 year ago

      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
        link
        English
        11 year ago

        Would that json be something the community could contribute to?

        • @gkd
          link
          English
          21 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.

    • @RustedSwitch
      link
      English
      11 year ago

      Oh, the script includes a list of known instances that would need to be maintained. I was hoping it was smarter somehow.