Files
dify-docs/plugin_dev_zh/0321-release-overview.zh.mdx
2025-05-16 23:51:43 +08:00

112 lines
4.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
dimensions:
type:
primary: operational
detail: deployment
level: beginner
standard_title: Release Overview
language: zh
title: 发布插件
description: 本文档介绍了Dify插件的三种发布方式官方Marketplace、开源GitHub仓库和本地插件文件包。详细说明了每种发布方式的特点、发布流程以及适用场景并提供了具体的发布建议以满足不同开发者的需求。
---
### 发布方式
为了满足不同开发者的发布需求Dify 提供了以下三种插件发布方式。在发布前,请确保您已完成插件的开发和测试,并阅读[插件开发基本概念](/plugin_dev_zh/0111-getting-started-dify-plugin.zh)和[插件开发者准则](/plugin_dev_zh/0312-contributor-covenant-code-of-conduct.zh)。
#### **1. Marketplace**
**简介**Dify 官方提供的插件市场,用户可以在此浏览、搜索并一键安装各类插件。
**特点**
* 插件经审核后上线,**安全可靠**。
* 可直接安装至个人或团队的 **Workspace** 中。
**发布流程**
* 将插件项目提交至 **Dify Marketplace** [代码仓库](https://github.com/langgenius/dify-plugins)。
* 经过官方审核后,插件将在市场内公开发布,供其他用户安装使用。
详细说明请参考:
[发布至 Dify Marketplace](/plugin_dev_zh/0322-release-to-dify-marketplace.zh)
#### 2. **GitHub 仓库**
**简介**:将插件开源或托管在 **GitHub** 上,方便他人查看、下载和安装。
**特点**
* 便于**版本管理**和**开源共享**。
* 用户可通过插件链接直接安装,无需平台审核。
**发布流程**
* 将插件代码推送至 GitHub 仓库。
* 分享仓库链接,用户可通过链接将插件集成至 **Dify Workspace**。
详细说明请参考:
[发布至个人 GitHub 仓库](/plugin_dev_zh/0322-release-to-individual-github-repo.zh)
#### 3. 插件文件包(本地安装)
**简介**:将插件打包成本地文件(如 `.difypkg` 格式),通过文件分享的方式供他人安装。
**特点**
* 不依赖在线平台,**快速灵活**地分享插件。
* 适用于**私有插件**或**内部测试**。
**发布流程**
* 将插件项目打包为本地文件。
* 在 Dify 插件页面点击**上传插件**,选择本地文件安装插件。
你可以将插件项目打包为一个本地文件并分享给他人,在插件页上传文件后即可将插件安装至 Dify Workspace 内。
详细说明请参考:
[打包为本地文件与分享](/plugin_dev_zh/0322-release-by-file.zh)
### **发布建议**
* **想要推广插件** → **推荐使用 Marketplace**,通过官方审核保障插件质量,提升曝光度。
* **开源共享项目** → **推荐使用 GitHub**,方便版本管理与社区协作。
* **快速分发或内部测试** → **推荐使用插件文件**,简单高效地安装和分享。
### 第三方验证
安装非 Dify 市场内的插件时,有可能遇到第三方签名验证问题。解决办法请参考[第三方签名验证](/plugin_dev_zh/0312-third-party-signature-verification.zh)。
## 相关资源
- [插件开发基本概念](/plugin_dev_zh/0111-getting-started-dify-plugin.zh) - 全面了解Dify插件开发
- [插件开发者准则](/plugin_dev_zh/0312-contributor-covenant-code-of-conduct.zh) - 了解插件提交的规范
- [插件隐私数据保护指南](/plugin_dev_zh/0312-privacy-protection-guidelines.zh) - 了解隐私政策编写要求
- [一般规范定义](/plugin_dev_zh/0411-general-specifications.zh) - 了解插件清单文件的配置
{/*
Contributing Section
DO NOT edit this section!
It will be automatically generated by the script.
*/}
<CardGroup cols="2">
<Card
title="编辑此页面"
icon="pen-to-square"
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/plugin_dev_zh/0321-release-overview.zh.mdx"
>
通过直接提交修改来帮助改进文档内容
</Card>
<Card
title="提交问题"
icon="github"
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=文档问题%3A%20release-overview&body=%23%23%20问题描述%0A%3C%21--%20请简要描述您发现的问题%20--%3E%0A%0A%23%23%20页面链接%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fplugin_dev_zh%2F0321-release-overview.zh.mdx%0A%0A%23%23%20建议修改%0A%3C%21--%20如果有具体的修改建议请在此说明%20--%3E%0A%0A%3C%21--%20感谢您对文档质量的关注%20--%3E"
>
发现错误或有改进建议?请提交问题反馈
</Card>
</CardGroup>