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

How would a plugin system work? #12

Open
anthdm opened this issue Jun 21, 2024 · 2 comments
Open

How would a plugin system work? #12

anthdm opened this issue Jun 21, 2024 · 2 comments
Labels
question Further information is requested

Comments

@anthdm
Copy link
Owner

anthdm commented Jun 21, 2024

I want to start a discussion on how we could provide the ability for developers to write plugins for SuperKit.

A general rule of thumb:

  • plugins should be self contained and hosted in the /plugins folder

Questions:

  • What with interactions with the database if the user has another database driver, or even another db package?
  • What with migrations?
  • ...

A good start is to look into the current auth package

@anthdm anthdm added the question Further information is requested label Jun 21, 2024
@anthdm anthdm changed the title How would a plugins system work? How would a plugin system work? Jun 21, 2024
@0xffffa
Copy link

0xffffa commented Jun 23, 2024

Potentially use github.com/matryer/goscript as a modular design to do plugin computation for different database repositories.

@javea7171
Copy link

Caddy server modules are pretty neat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants