diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.26k stars 40 forks source link

Plugins? #59

Open raidenovich opened 2 years ago

raidenovich commented 2 years ago

I love this client! However If you supported BD plugins, that would just be icing on the cake

diamondburned commented 2 years ago

That's going to be very infeasible. This client is not a 1:1-same-API port of BetterDiscord, so nothing written for that will work. To make it work would include having a JS interpreter and rewriting half of the entire Discord client and BD APIs.

raidenovich commented 2 years ago

Honestly? Fair enough. Maybe having a way to inject JS into GTKCord would work tbh, plugins for gtkcord would have to be made, sure but honestly It'd be a good feature/start.

diamondburned commented 2 years ago

That's on some roadmap, but I really want to fix memory leak issues first before I really work on big features.

Of course, PRs are welcomed.

yavko commented 1 year ago

A better way to provide plugins would be as a optional flag that would include wasmtime, some wasm api could be provided, and wasm plugins could be added in like XDG-CONFIG/gtkcord4/plugins/.