I started implementing a feature that lets you see posts from multiple communities at the same time. Above ive got it pulling from 5 different communities.
Done by just listing all of the communities in the url with plus signs separating them. Its not pushed out to the pangora beta site right now but ill probably try to push out a build either this weekend or during the week
Currently just shows the first 50 from each, ill try to add some sort of addition to the backend in the future that will let me query for multiple communities so I can do the first 50 out of all of them so it doesnt have things out of order for the last post on a page and the first post on the next page
Great news! Looking forward to testing it.
will you guys be making pull requests back to Lemmy, and pulling down their updates as well? this could get really difficult over time, I feel like Lemmy really needs a plugin system https://github.com/LemmyNet/lemmy/issues/3562
this also makes me think, I chose the subdomain
lemmy
for my instance (and many others do this too), but if I ever want to switch to a fork it would really bother me that the subdomain is incorrect lol, I should’ve used the subdomainforum
is it possible to change the subdomain for an instance? maybe with redirects?
for the backend yes
frontend is a separate project but its using similar things to construct it so if its a vital feature it can be redone in lemmy-ui pretty quickly. Already gave them code block support for 0.18
Yeah you can redirect or you can make lemmy.[something] and forum.[something] point towards the same ip or same port depending on how youve set it up (if you want lemmy.[something] to still work else you can just change it to forum)
Yeah you can redirect or you can make lemmy.[something] and forum.[something] point towards the same ip or same port depending on how youve set it up
I was wondering more how it would be handled with federation, and what my configs should look like, and if I need to make any changes in the DB
ah yeah I havent looked into the configs too much. Not sure how it would deal with renames but you can ask in the lemmy matrix or something
Is this frontend only?
Is the plan to allow enabling rule-based grouping of communities i.e “Group all communities with the
name=programming
from all the connected instances” and “Group all communities withname = "linux*" AND instance != "spamserver.*"
”?will involve the backend eventually to clean up the posts that show up
rule based grouping is a nice idea, Ill try to get that implemented before I push this out to the test site
Woah, that’d be big (at least for me). Looking forward to it!
added functionality for the two rules
- getting all communities with a certain slug
- exclude instance with domain X from above rule
was running into rate limits when trying to check every single linked instance so ive manually put in the larger ones for now
Very nice! Once you add a backend endpoint to do it, I’m sure it’ll be quite quick.