this post was submitted on 06 Jul 2023
-3 points (43.5% liked)

Asklemmy

43811 readers
1001 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
top 9 comments
sorted by: hot top controversial new old
[–] eek2121@lemmy.world 5 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.

[–] WraithGear@lemmy.world 1 points 1 year ago

You mean like mlem?

[–] hsl@wayfarershaven.eu 1 points 1 year ago

It's a question... Sort of? See rule #1.

[–] adj16@lemmy.world 1 points 1 year ago

Wefwef still uses the Lemmy API. It would still be subject to the same pricing farce as all other third-party apps. If you’re going to do that…why build a new app?

[–] Karlos_Cantana@sopuli.xyz 1 points 1 year ago

You can use an app like Hermit to do that. It works because Reddit thinks it's a browser. I've heard that Reddit is planning on stopping browsers from accessing it also, but I don't remember the source, so I'm not sure if it's accurate or not.