Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Third Party plugins support #211

Closed
Vendicated opened this issue Nov 13, 2022 · 3 comments
Closed

Third Party plugins support #211

Vendicated opened this issue Nov 13, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Vendicated
Copy link
Owner

My idea for this:

  • Plugins are stored as single file in the Vencord config folder. No support for custom plugins on Discord Web because there's no good way to store plugins without having to read them async (IndexedDB)
  • imports would simply refer to the window Vencord prop, for example import blah from "Vencord/Api/bleh" would create a virtual module (with esbuild) that simply exports Vencord.Api.bleh. Might have to do some refactoring to make this possible
  • Plugins are loaded just like inbuilt plugins
  • Would probably somehow have to implement reasonable updating for them (repo publishes bundles to github release)
@MeguminSama MeguminSama added the enhancement New feature or request label Nov 22, 2022
@ArjixWasTaken
Copy link
Contributor

because there's no good way to store plugins without having to read them async (IndexedDB)

localStorage: am I a joke to you?

@144reasons
Copy link
Contributor

bru I think if it were that simple third party plugins would be implemented

@Vendicated
Copy link
Owner Author

localStorage has a very strict size limit. I think it's 5mb or might be even less. Discord also dumps a lot of their stores in there so we are working with (potentially way) less than 5mb. It might be possible but I'm not sure

Repository owner locked and limited conversation to collaborators Dec 10, 2022
@MeguminSama MeguminSama converted this issue into discussion #326 Dec 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants