> ## Documentation Index
> Fetch the complete documentation index at: https://dify-6c0370d8-add-new-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 发布插件

> 本文档介绍了三种发布 Dify 插件的方式——官方 Marketplace、开源 GitHub 仓库和本地插件文件包。详细说明了每种方式的特点、发布流程和适用场景，并提供了具体的发布建议，以满足不同开发者的需求。

<Note> ⚠️ 本文档由 AI 自动翻译。如有任何不准确之处，请参考[英文原版](/en/develop-plugin/publishing/marketplace-listing/release-overview)。</Note>

### 发布方式

为满足不同开发者的发布需求，Dify 提供以下三种插件发布方式。在发布前，请确保你已完成插件的开发和测试，并已阅读[插件开发基础概念](/zh/develop-plugin/getting-started/getting-started-dify-plugin)和[插件开发者指南](/zh/develop-plugin/publishing/standards/contributor-covenant-code-of-conduct)。

#### **1. Marketplace**

**简介**：Dify 官方提供的插件市场，用户可以一键浏览、搜索和安装各种插件。

**特点**：

* 插件上线前需经过审核，确保**安全可靠**。
* 可以直接安装到个人或团队的**工作区**。

**发布流程**：

* 将插件项目提交到 **Dify Marketplace** [代码仓库](https://github.com/langgenius/dify-plugins)。
* 经官方审核后，插件将公开发布到市场，供其他用户安装使用。

详细说明请参考：

[发布到 Dify Marketplace](/zh/develop-plugin/publishing/marketplace-listing/release-to-dify-marketplace)

#### 2. **GitHub 仓库**

**简介**：在 **GitHub** 上开源或托管你的插件，供他人查看、下载和安装。

**特点**：

* 便于**版本管理**和**开源分享**。
* 用户可通过插件链接直接安装，无需平台审核。

**发布流程**：

* 将插件代码推送到 GitHub 仓库。
* 分享仓库链接，用户可通过链接将插件集成到其 **Dify 工作区**。

详细说明请参考：

[发布到个人 GitHub 仓库](/zh/develop-plugin/publishing/marketplace-listing/release-to-individual-github-repo)

#### 3. 插件文件包（本地安装）

**简介**：将插件打包为本地文件（如 `.difypkg` 格式）并分享给他人安装。

**特点**：

* 不依赖在线平台，**快速灵活**地分享插件。
* 适用于**私有插件**或**内部测试**。

**发布流程**：

* 将插件项目打包为本地文件。
* 在 Dify 插件页面点击**上传插件**，选择本地文件即可安装插件。

你可以将插件项目打包为本地文件并分享给他人。在插件页面上传文件后，即可将插件安装到你的 Dify 工作区。

详细说明请参考：

[打包为本地文件并分享](/zh/develop-plugin/publishing/marketplace-listing/release-by-file)

### **发布建议**

* **想要推广你的插件** → **推荐使用 Marketplace**，通过官方审核确保插件质量，提高曝光度。
* **开源分享项目** → **推荐使用 GitHub**，便于版本管理和社区协作。
* **快速分发或内部测试** → **推荐使用插件文件**，安装和分享简单高效。

## 相关资源

* [插件开发基础概念](/zh/develop-plugin/getting-started/getting-started-dify-plugin) - 全面了解 Dify 插件开发
* [插件开发者指南](/zh/develop-plugin/publishing/standards/contributor-covenant-code-of-conduct) - 了解插件提交的标准
* [插件隐私数据保护指南](/zh/develop-plugin/publishing/standards/privacy-protection-guidelines) - 了解隐私政策编写要求
* [通用规范](/zh/develop-plugin/features-and-specs/plugin-types/general-specifications) - 了解插件清单文件的配置

***

[Edit this page](https://github.com/langgenius/dify-docs/edit/main/en/develop-plugin/publishing/marketplace-listing/release-overview.mdx) | [Report an issue](https://github.com/langgenius/dify-docs/issues/new?template=docs.yml)
