-
-
Notifications
You must be signed in to change notification settings - Fork 939
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Performance:
- to improve performance dont call
function_existsevery time, but store a vec with all available plugin hooks - load plugins immediately on startup, so they can be initialized in the background while lemmy initializes the db, runs migrations etc
New features (there are a lot of possibilities):
- move plugin configuration to a database table and support live reloading
- add plugin ui for admins to lemmy-ui with:
- list of installed plugins
- config for each plugin
- list of available plugins to install (hosted on join-lemmy.ml or federated)
- plugin stats (which hooks active, how often called, how long execution time)
- add more plugin hooks
- http endpoints like
GET /api/v4/plugin/*name*/are forwarded to plugin hookhttp_call(req: HttpRequest): HttpResponse - plugins can make db queries via host function, eg for vote analysis ([0.19] Implement API for analytics of votes given by a person #5669)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request