dissent icon indicating copy to clipboard operation
dissent copied to clipboard

Plugins?

Open raidenovich opened this issue 1 year ago • 4 comments

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

raidenovich avatar Aug 28 '22 01:08 raidenovich

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.

diamondburned avatar Aug 28 '22 03:08 diamondburned

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.

raidenovich avatar Aug 28 '22 12:08 raidenovich

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.

diamondburned avatar Aug 28 '22 21:08 diamondburned

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/.

yavko avatar Sep 24 '22 22:09 yavko