interstellar icon indicating copy to clipboard operation
interstellar copied to clipboard

Add support for PieFed feeds

Open zandm7 opened this issue 7 months ago • 6 comments

Describe the feature

PieFed has a feeds feature that is quite handy (https://piefed.social/feeds). It's essentially multireddits/multicommunities that any individual user can curate. Feeds can be made publicly available, or kept private. Super handy for compiling various related communities across the fediverse!

Support for PieFed topics would also be nice (https://piefed.social/topics) but not necessarily in scope for this issue, lol.

Additional context

No response

zandm7 avatar Jun 10 '25 05:06 zandm7

The PieFed API doesn't support feeds yet, so we'll have to wait for updates. I've actually been thinking recently about how to do multicommunities in app for mbin and lemmy as well. Hopefully by the time the PieFed API is updated with feeds I'll have it mostly worked out and be able to include the PieFed feeds too.

olorin99 avatar Jun 10 '25 09:06 olorin99

I've actually been thinking recently about how to do multicommunities in app for mbin and lemmy as well.

I think the most reliable way to do that would be to implement it how I did the timeline view, which combined Threads and Microblogs clientside and sorted them by creation date.

jwr1 avatar Jun 11 '25 17:06 jwr1

Yeah that is the plan. I've also tested using different sorting functions and I think we should be able to use all the sorting options not just newest.

olorin99 avatar Jun 13 '25 07:06 olorin99

But how would you know how to sort things like active and hot client-side? Newest, top, commented, and oldest I can see being easy enough.

jwr1 avatar Jun 13 '25 13:06 jwr1

So on lemmy hot is a function of the post score and its creation time. Active is similar to hot but uses the last active time instead. Scaled takes the hot score and divides it by a factor of the communities monthly active users. All the variables except for monthly active users are included in API response and it looks like the next version of the API will include active user counts. https://join-lemmy.org/docs/contributors/07-ranking-algo.html

On mbin I haven't checked the hot algorithm yet but I assume its similar to lemmy and active sort seems to literally just sort by the lastActive variable.

Seems to work alright especially since the results will already be sorted coming from the instance.

olorin99 avatar Jun 14 '25 06:06 olorin99

Much progress was made on this issues in #250. You can now view PieFed feeds and topics and also add them to your local (client) feeds for easy access. Unfortunately, that is all that can be done with PieFed's current API.

jwr1 avatar Sep 20 '25 01:09 jwr1