How to add a plugin to OpenPlugin ecosystem. Things to note:
- Authentication is not supported
- The plugin must be deployed to a publicly accessible URL
- Fork this repo, and clone it to your local machine
- Createa a branch titled
plugin/<PLUGIN_NAME>like sogit checkout -b plugin/todo - Create new OpenAI secret key, see here for guide
- Add the secret key to your environment variables with the name
OPENAI_API_KEY - Create a virtual environment
python -m venv <NAME_OF_ENV> - Activate the virtual environment
- Navigate to directory
openplugin/migrations/plugin_store - Install the requirements
pip install -r requirements.txt - Run
python add_plugin.py - Follow the prompts
- Commit the changes to the repo (excluding your virtual environment)
- Create a pull request to merge your branch into
CakeCrusher/openpluginbranchmain