mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-27 13:28:32 +07:00
100 lines
4.2 KiB
Plaintext
100 lines
4.2 KiB
Plaintext
---
|
||
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)和[插件开发者准则](/plugin-dev-zh/0312-contributor-covenant-code-of-conduct)。
|
||
|
||
#### **1. Marketplace**
|
||
|
||
**简介**:Dify 官方提供的插件市场,用户可以在此浏览、搜索并一键安装各类插件。
|
||
|
||
**特点**:
|
||
|
||
* 插件经审核后上线,**安全可靠**。
|
||
* 可直接安装至个人或团队的 **Workspace** 中。
|
||
|
||
**发布流程**:
|
||
|
||
* 将插件项目提交至 **Dify Marketplace** [代码仓库](https://github.com/langgenius/dify-plugins)。
|
||
* 经过官方审核后,插件将在市场内公开发布,供其他用户安装使用。
|
||
|
||
详细说明请参考:
|
||
|
||
[发布至 Dify Marketplace](/plugin-dev-zh/0322-release-to-dify-marketplace)
|
||
|
||
#### 2. **GitHub 仓库**
|
||
|
||
**简介**:将插件开源或托管在 **GitHub** 上,方便他人查看、下载和安装。
|
||
|
||
**特点**:
|
||
|
||
* 便于**版本管理**和**开源共享**。
|
||
* 用户可通过插件链接直接安装,无需平台审核。
|
||
|
||
**发布流程**:
|
||
|
||
* 将插件代码推送至 GitHub 仓库。
|
||
* 分享仓库链接,用户可通过链接将插件集成至 **Dify Workspace**。
|
||
|
||
详细说明请参考:
|
||
|
||
[发布至个人 GitHub 仓库](/plugin-dev-zh/0322-release-to-individual-github-repo)
|
||
|
||
#### 3. 插件文件包(本地安装)
|
||
|
||
**简介**:将插件打包成本地文件(如 `.difypkg` 格式),通过文件分享的方式供他人安装。
|
||
|
||
**特点**:
|
||
|
||
* 不依赖在线平台,**快速灵活**地分享插件。
|
||
* 适用于**私有插件**或**内部测试**。
|
||
|
||
**发布流程**:
|
||
|
||
* 将插件项目打包为本地文件。
|
||
* 在 Dify 插件页面点击**上传插件**,选择本地文件安装插件。
|
||
|
||
你可以将插件项目打包为一个本地文件并分享给他人,在插件页上传文件后即可将插件安装至 Dify Workspace 内。
|
||
|
||
详细说明请参考:
|
||
|
||
[打包为本地文件与分享](/plugin-dev-zh/0322-release-by-file)
|
||
|
||
### **发布建议**
|
||
|
||
* **想要推广插件** → **推荐使用 Marketplace**,通过官方审核保障插件质量,提升曝光度。
|
||
* **开源共享项目** → **推荐使用 GitHub**,方便版本管理与社区协作。
|
||
* **快速分发或内部测试** → **推荐使用插件文件**,简单高效地安装和分享。
|
||
|
||
### 第三方验证
|
||
|
||
安装非 Dify 市场内的插件时,有可能遇到第三方签名验证问题。解决办法请参考[第三方签名验证](/plugin-dev-zh/0312-third-party-signature-verification)。
|
||
|
||
## 相关资源
|
||
|
||
- [插件开发基本概念](/plugin-dev-zh/0111-getting-started-dify-plugin) - 全面了解Dify插件开发
|
||
- [插件开发者准则](/plugin-dev-zh/0312-contributor-covenant-code-of-conduct) - 了解插件提交的规范
|
||
- [插件隐私数据保护指南](/plugin-dev-zh/0312-privacy-protection-guidelines) - 了解隐私政策编写要求
|
||
- [一般规范定义](/plugin-dev-zh/0411-general-specifications) - 了解插件清单文件的配置
|
||
|
||
{/*
|
||
Contributing Section
|
||
DO NOT edit this section!
|
||
It will be automatically generated by the script.
|
||
*/}
|
||
|
||
---
|
||
|
||
[编辑此页面](https://github.com/langgenius/dify-docs/edit/main/plugin-dev-zh/0321-release-overview.mdx) | [提交问题](https://github.com/langgenius/dify-docs/issues/new?title=文档问题%3A%20release-overv&body=%23%23%20问题描述%0A%3C%21--%20请简要描述您发现的问题%20--%3E%0A%0A%23%23%20页面链接%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs%2Fblob%2Fmain%2Fplugin-dev-zh%2F0321-release-overview.mdx%0A%0A%23%23%20建议修改%0A%3C%21--%20如果有具体的修改建议,请在此说明%20--%3E%0A%0A%3C%21--%20感谢您对文档质量的关注!%20--%3E)
|
||
|