This PR adds a basic plugin hook using Extism (webassembly), including a simple example plugin written in Go. Plugins can also be written in many other languages like JS, Rust, .NET or C.
For now t...
One potential PoC for a plug-in could be a “conversation listener”?
Something which notifies you whenever a new comment or reply is made to a selected post/comment, so that you can keep track of any new conversation.
Dunno how viable that sort of thing would be though … how could plugins affect the UI? Plus the plug-in would need its own database.
Beyond that, moderation seems like an obvious application?
Perhaps some sort of wiki like application, where posts containing certain tags or other markers get automatically organised someway in a separate post or page?
Something which notifies you whenever a new comment or reply is made to a selected post/comment, so that you can keep track of any new conversation.
Something like this would be awesome as a core Lemmy feature IMO. It would essentially turn a post (or maybe any comment tree?) into a matrix style room. Lemmy is actually decent for long term discussion (e.g. helping someone with a problem), but not if there are more than two people involved.
Having a toggleable option to get notifications from replies to your repliers, and so on, would be a lot more helpful than the microblog style of @mentioning every person above you in a chain.
Federation health monitor? Checks if posts are federating well.
Activity summariser: eg shows how many posts/comments in selected communities since last visited.
EDIT: I’m thinking of Phanpy’s catch-up feature here (it’s a web app for microblogging platforms and easily one of the best social media clients there is … if you haven’t seen the catchup feature go check it out).
link localiser? Probably better in the backend (as suggested already). But it intercepts links to posts/comments and provides links to the local versions.
Integrating with patreon or opencollective where one of the rewards is access to supporter only lemmy communities might be a good use case for a plugin system.
Yeah, if we want to get people off of centralized, private social media sites, we really need Patreon integration for a range of fedi services. It's one of the significant pipelines for Discord adoption.
Lemmy/*bin, PeerTube, Matrix, what have you all have immediate drop-in replacement value. Other services, like Mastodon, don't have the same level of potential segmentation and exclusivity inherent in how they're built, but it'd be a way to set up paid access servers.
These kinds of gateways are important for actually making the fediverse seem like a viable alternative. Right now, the incentives are driving people toward closed gardens and destroying the open internet.
Hard disagree. As one of the people whose personal details and payment information were leaked by Patreon a few years ago I would rather nothing in the fediverse had anything to do with that company.
So before a new post could be checking to make sure a membership of an external site is valid and after a new post could be updating a CMS? Interesting. Not sure it's needed, but I'm sure when someone creates something I can't think of, I'll think it's the best thing ever!