Skip to main content

Dify supports three ways to distribute a plugin. They differ in how much vetting happens up front and how broad an audience the plugin reaches.

Before publishing, finish development and testing, and read the Plugin Development Guidelines.

Choose a Method#

Compare#

Marketplace GitHub Local File
AudienceEvery Dify userAnyone with the repo URLPeople you give the file to
ReviewAutomated risk and package checks + human reviewNoneNone
Install pathOne click from Marketplace UIInstall from GitHub dialogUpload via Plugins page
VersioningNew package and PR for every versionGitHub releases with .difypkg assetRepackage and redistribute
Best forPolished, broadly useful pluginsOpen-source projects, internal tools shared by URLPrivate plugins, internal testing, ad-hoc distribution
Tip

Many developers ship to GitHub first for fast iteration, then submit to the Marketplace once the plugin is stable. The same .difypkg works for all three methods; only the distribution channel differs.

Quick Rules of Thumb#

  • Want broad reach and review? Use the Marketplace.
  • Want full control over releases and versioning? Use GitHub.
  • Private or one-off use? Use a Local File.