web-ui icon indicating copy to clipboard operation
web-ui copied to clipboard

Plugin System

Open InCoB opened this issue 10 months ago • 3 comments

A system allows you to create a plugin that can be loaded without crashing the app. I added two mock plugins: Twitter and Mock Plugin. Please review. I will also rename the Twitter plugin to Mock Twitter plugin.

InCoB avatar Jan 20 '25 12:01 InCoB

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jan 20 '25 12:01 CLAassistant

Plugins

We have a plugin system that allows you to add new features to the WebUI. Extend with Enhance functionality by creating plugins - add a directory to /plugins containing your Python class (inheriting from PluginBase) and a manifest.yaml configuration file. To activate any plugin: Edit config.yaml. Plugins automatically install dependencies and integrate their UI/features into the main interface. Read more about plugins in README.md in the plugins directory. /// Something like this can be added to the Readme file. I'll continue working to understand how to integrate the main functionality and make use cases (e.g., creating custom controllers or prompts for specific use cases). But I hope it will make community to come with use cases

InCoB avatar Jan 20 '25 22:01 InCoB

Awesome! I will check it ASAP, kind of busy recently.

warmshao avatar Jan 21 '25 11:01 warmshao