derivator / tafkars

GNU Affero General Public License v3.0
171 stars 5 forks source link

Lemmy clients using tafkar for Reddit compatibility #10

Open erlend-sh opened 1 year ago

erlend-sh commented 1 year ago

If developers of Lemmy apps wanted to flip the current functionality of tafkar from Reddit(primary)+Lemmy(secondary) to Lemmy+Reddit, does that warrant a whole other library, or is there a natural path for this in tafkar?

See for example https://github.com/gkasdorf/memmy/

derivator commented 1 year ago

If I understand the question correctly, you're asking about the possibility of a proxy that works in the other direction, so that a native Lemmy app could talk to actual reddit.com via the proxy?

If so, from a technical standpoint the API definitions in tafkars could definitely be used for that, and the api_translation module in tafkars-lemmy could at least be helpful to look at to understand how Reddit and Lemmy APIs map onto each other, even though it can't really be used directly.

From a political and practical standpoint, the point was to get away from Reddit, both because of the harmful corporate interests controlling it and because of the absurd API pricing, so I don't really see the point.

It would be a fun technical challenge, but I have no interest in pursuing such a project myself.

erlend-sh commented 1 year ago

I still see it as a way to exit Reddit. What Reddit interop does for a Lemmy client is that it can have a more effective onboarding experience by also including content from Reddit.

related: https://github.com/gkasdorf/memmy/issues/4

I’ve always browsed the Reddit front page anonymously (account-less, so only the default top feed) via Apollo. It’d be easy to make the switch to memmy if it could keep showing me content from Reddit (which remains the top source of content for now) alongside the new Lemmy sources.

Many Reddit clients are shutting down because being a primary client for Reddit is proving economically in feasible. Treating Reddit as a secondary read-only content source with minimal API interaction would make such an app far more cost-effective.