this post was submitted on 23 Oct 2024
47 points (98.0% liked)
Lemmy
2172 readers
31 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to [email protected].
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
While you're correct about this, this could be handled dynamically. Simply fetch the list of posts quickly as usual, and then start polling for crossposts in the background and if any two appear in the current frontpage the user is seeing, merge them.
Not at all. That's not what scraping means.
I just completely disagree with the idea that a frontend should stick to what the backend design is, especially for a FOSS project.
We appear to be at an impasse.
I've recently been adding an API to PieFed and forked the Lemmy Thunder app as way to test things. My position on this comes from tinkering with Thunder - I can't claim to understand it all, but it seems to me that the API and the app are fundamentally interlinked in ways that make being too adventurous with it difficult. For that app, it would break the existing paradigm to do the kinds of things you're talking about. Thunder uses its own version of an API client (written in Dart), but I've assumed that other apps are written in a similar way, and are essentially wrappers around Lemmy's JavaScript client.
Hopefully, someone else with more app development experience will contribute to this discussion, and set one of us right (I don't mind if it's me that's wrong).