This Documentation is Being Deprecated
This page is being phased out as part of our documentation reorganization.
Click this card to be redirected to the updated version with the most current information.
If you notice any discrepancies or areas needing improvement in the new documentation, please use the “Report an issue” button at the bottom of the page.
Prerequisites
- GitHub account
- New public GitHub repository
- Git tools installed locally
1. Prepare Plugin Project
Publishing to public GitHub means your plugin will be open source. Ensure you’ve completed debugging and verification, and have a comprehensiveREADME.md file.
Recommended README contents:
- Plugin introduction and feature description
- Installation and configuration steps
- Usage examples
- Contact information or contribution guidelines
2. Initialize Local Plugin Repository
Before publishing to GitHub, ensure debugging and verification are complete. Navigate to the plugin project folder in terminal and run:3. Connect Remote Repository
Use this command to connect local repository to GitHub:4. Upload Plugin Files
Push project to GitHub repository:5. Package Plugin Code
Go to the Releases page of your GitHub repository and create a new release. Upload plugin files when publishing. For detailed instructions on packaging plugins, please read the packaging plugins documentation.
Installing Plugins via GitHub
Others can install the plugin using the GitHub repository address. Visit the Dify platform’s plugin management page, choose to install via GitHub, enter the repository address, select version number and package file to complete installation.
Edit this page | Report an issue