Open raidenovich opened 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.
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.
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.
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/
.
I love this client! However If you supported BD plugins, that would just be icing on the cake