-
Notifications
You must be signed in to change notification settings - Fork 0
🛠️ How to Integrate a Plugin
Phillip Rafail Papadakis edited this page Feb 3, 2025
·
1 revision
Before integrating a plugin, check the Available Plugins table. Each plugin entry includes:
- 📌 Name: The identifier used in configuration.
- 📝 Description: A brief summary of its function.
- ⚙️ Configuration Requirement: Indicates whether the plugin requires a separate configuration file.
- 📂 Config File Name: The expected filename for plugin-specific configurations.
You can enable a plugin by specifying it in the plugins
setting of aw-sync-agent
. There are multiple ways to do this:
./aw-sync-agent --plugins "PluginName1|PluginName2"
plugins:
- PluginName1
- PluginName2
export PLUGINS="PluginName1|PluginName2"
Some plugins require additional configurations. If a plugin has a configuration file specified (as seen in the Config File Name column), follow these steps:
Navigate to the configs
directory and create the necessary file:
cd ./configs
touch aw-plugin-{filterName}.yaml
Modify aw-plugin-{filterName}.yaml
as per the plugin’s requirements. Refer to the plugin’s documentation for specific configuration details.
Before running the agent, ensure your configuration is correctly set up by running:
./aw-sync-agent -testConfig
✅ This will validate the configuration and report any errors.
If you run into any issues:
- 🔍 Check the logs for errors (
./aw-sync-agent -testConfig
). - 📌 Ensure your configuration files are correctly named and formatted.
- 🆘 Open an issue in the repository for further assistance.