this post was submitted on 06 Jul 2023
-2 points (41.7% liked)

Asklemmy

43945 readers
638 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] eek2121@lemmy.world 1 points 1 year ago (2 children)

Likely not possible on iOS. Apple has too many restrictions. It works with lemmy because lemmy has a free API and doesn’t attempt to obscure it’s code. New reddit employs a ton of stuff to try and stop these types of efforts. Apple has a ton of restrictions surrounding code execution and browsers (all browsers have to use safari’s engine). That being said, I am not an iOS developer (outside of cross platform tooling), so it might be possible, but from what little I know of Apple’s policies, not likely.

That being said, I am thinking about the idea of a reddit proxy addon for lemmy, something that would expose r/* communities to lemmy via an API. This would primarily be of use for developers, but could potentially allow r/* communities to exist alongside lemmy communities, with the caveat that reddit users would not see comments. The proxy would actually scrape reddit for posts/comments, cache them in redis, and offer the cache up via a restful API, so it wouldn’t be realtime, but it would be a starting point.

[–] SulaymanF@lemmy.world 3 points 1 year ago (1 children)

What do you mean; It’s VERY possible on iOS. Apple doesn’t restrict their web app APIs the way they restrict compiled binaries. Wefwef is a web app and a good one.

[–] eek2121@lemmy.world 1 points 1 year ago (1 children)

Web extensions are extremely limited by Apple. That is why we don’t have uBlock origin. A PWA alone would not get the job done. This isn’t talking to an API. You would have to parse out the HTML and reformat it, intercepting links, etc. View the source of new reddit and you will see what I mean.

You also can’t design around old reddit because they are killing that next.

[–] SulaymanF@lemmy.world 2 points 1 year ago

It’s possible to write a web app that accesses Reddit APIs and loads comments and gives you an Apollo-style experience. You seem to be thinking of a web viewer app for the site, which isn’t the same as what I’m referring to. For example I’m using wefwef which is a good web app for mobile and desktop.

[–] SomeoneElse@lemmy.world 0 points 1 year ago

This was informative and not too technical for a layman. Good work, thank you.