Marketplace: Stores the plugin’s ID and version. During import, Dify downloads the plugin package from the Dify Marketplace.GitHub: Stores the GitHub repository address, release version number, and asset filename. During import, Dify downloads the plugin package from the corresponding GitHub repository.Package: Stores the plugin package directly within the Bundle. No reference source is stored, but this can make the Bundle file larger.
Prerequisites
- Dify plugin scaffolding tool
- Python environment (version 3.12)
Create a Bundle Project
In the current directory, run the scaffolding command-line tool to create a new plugin package project:dify and copied it to /usr/local/bin, run:
1. Fill in Plugin Information
Follow the prompts to configure the plugin name, author information, and plugin description. If you are collaborating as a team, you can also enter the organization name as the author.The name must be 1–128 characters long and can only contain letters, numbers, hyphens, and underscores.


2. Add Dependencies
Marketplace
marketplace_pattern is the reference to the plugin in the Marketplace, in the format organization_name/plugin_name:version_number.
GitHub
repo_pattern is the reference to the plugin on GitHub, in the format organization_name/repository_name:release/asset_name.
Package
package_path is the path to the plugin package.
Package the Bundle Project
Run the following command to package the Bundle plugin:bundle.difybndl file in the current directory—the final packaged result.
Edit this page | Report an issue