this post was submitted on 16 Jan 2026
17 points (100.0% liked)
Fedibridge
998 readers
1 users here now
A community to organize and discuss the growth of the fediverse as a whole
Related communities
Megathreads
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Not everything, but some might be possible with plugins. Lemmy v1.0.0 will have some sort of plugin system and afaik Piefed already has them.
Plugins mainly have hooks which are called when a new post is created, a comment is updated or things like that. Giving plugins access to everything in the database is more complicated. We could let plugins execute SQL and get the results, but that has security risks.
Instead of letting plugins execute raw SQL, why not expose certain functions like ones for crud operations on db models?
That wouldnt be enough to get the kind of statistics mentioned in this post.