39
submitted 8 months ago* (last edited 8 months ago) by Ategon@programming.dev to c/pangora@programming.dev

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

top 10 comments
sorted by: hot top controversial new old
[-] canpolat@programming.dev 4 points 8 months ago

Great news! Looking forward to testing it.

[-] onlinepersona@programming.dev 1 points 8 months ago

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 with name = "linux*" AND instance != "spamserver.*""?

[-] Ategon@programming.dev 3 points 8 months ago

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

[-] onlinepersona@programming.dev 1 points 8 months ago

Woah, that'd be big (at least for me). Looking forward to it!

[-] Ategon@programming.dev 4 points 8 months ago

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

[-] onlinepersona@programming.dev 1 points 8 months ago

Very nice! Once you add a backend endpoint to do it, I'm sure it'll be quite quick.

[-] Die4Ever@programming.dev 1 points 8 months ago* (last edited 8 months ago)

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 subdomain forum

is it possible to change the subdomain for an instance? maybe with redirects?

[-] Ategon@programming.dev 5 points 8 months ago* (last edited 8 months ago)

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)

[-] Die4Ever@programming.dev 2 points 8 months ago* (last edited 8 months ago)

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

[-] Ategon@programming.dev 3 points 8 months ago

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

this post was submitted on 26 Nov 2023
39 points (100.0% liked)

Pangora

120 readers
2 users here now

๐Ÿ An activitypub compatible forum and link aggregator. Downstream from Lemmy.

https://github.com/PangoraWeb

Kanban board


Info

Info

Pangora is the name of the lemmy soft fork thats being primarily worked on by members of programming.dev. Its aimed so that we can add features on top of lemmy and prioritize them based on what the instance needs while still being able to push changes upstream to lemmy if they accept them.

This also makes us more decoupled from lemmy so that if anything major happens to lemmy we can keep going with maintaining the site without any issues.


Credits

Credits

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient


Pangora

Pangora-UI


founded 11 months ago
MODERATORS