-
Notifications
You must be signed in to change notification settings - Fork 1.6k
zh plugin dev publish github
langbot-wiki-sync[bot] edited this page Jul 29, 2026
·
1 revision
您可以将您的插件上传至 GitHub ,为仓库创建 Release 并上传 .lbpkg 文件,其他用户即可在 LangBot 上安装。
在插件目录下执行命令:
lbp build这将生成一个 .lbpkg 文件在dist目录。
请将该插件上传 GitHub,并前往插件仓库的 Release 页面,点击创建 Release,并上传刚刚打包的.lbpkg文件。
自 lbp init 创建的插件已内置一个 GitHub Actions 工作流(.github/workflows/release.yml),无需手动打包和上传。
将插件仓库推送到 GitHub 后,每当您修改 manifest.yaml 中的 version 字段并推送到 main 或 master 分支时,该工作流会自动:
- 安装
lbpCLI 并执行lbp build打包插件; - 以
v<version>为标签创建一个 GitHub Release,并上传生成的.lbpkg文件。
若对应版本号的 Release 已存在,则工作流会跳过,不会重复发布。您也可以在仓库的 Actions 页面手动触发(workflow_dispatch)。
Note
该工作流依赖仓库默认的 GITHUB_TOKEN,并需要 contents: write 权限(模板已声明)。请确保仓库的 Actions 已启用,且 manifest.yaml 中的 metadata.author、metadata.name、metadata.version 字段填写正确——Release 名称与产物文件名均由这些字段拼接而成(<author>-<name>-<version>.lbpkg)。
请在 LangBot 的插件管理页面,点击右上角即可选择 GitHub 安装方式。
Automatically synchronized from langbot-app/langbot-wiki.
简体中文
指南
开发者
- 插件开发
- 插件 SDK API
- 核心开发
文章
- 浏览
- 产品动态
- 技术解析
- 教程与集成
- 公告
API 参考
- Service API
English
Guides
Developers
-
Plugin Development
- Plugin Development Tutorial
- Completing Plugin Configuration Information
- Plugin Directory Structure
- Component Development
- Code Style Guide
- Migration Guide
- Publish Plugin
- Plugin SDK API
- Core Development
Articles
- Browse
- Product Updates
- Engineering
-
Tutorials & Integrations
- LangTARS: Open-Source AI Agent for Remote PC Control — Works with Dify, n8n & 10+ Messaging Platforms
- How to Connect DeepSeek R1 to WeChat, Discord & Telegram in 5 Minutes (FREE)
- Deploy Your Own AI Bot to Discord, Telegram & WeChat in 5 Minutes
- Finally Got My Dify Agent Working in Discord, Telegram and Slack
- How I Built a Multi-Platform AI Bot with Langflow's Drag-and-Drop Workflows
- How I Built a Multi-Platform AI Chatbot with n8n and LangBot
- LangBot 4.6.0 External Knowledge Base Tutorial: Integrating Dify with LangBot for RAG-powered Conversations
- Announcements
API Reference
- Service API
Other pages
日本語
ガイド
開発者
- プラグイン開発
- プラグイン SDK API
- コア開発
記事
- 一覧
- 製品アップデート
- エンジニアリング
-
チュートリアルと連携
- LangTARS:Dify・n8n と連携するオープンソース PC 操作 Agent
- DeepSeek R1 を WeChat・Discord・Telegram に5分で接続する方法
- AI Bot を Discord・Telegram・WeChat に5分でデプロイ
- Dify Agent を Discord・Telegram・Slack で動かす
- Langflow のドラッグ&ドロップでマルチプラットフォーム AI Bot を構築
- n8n と LangBot でマルチプラットフォーム AI Chatbot を構築
- LangBot 4.6.0 外部ナレッジベース入門:Dify と連携した RAG 会話
- お知らせ
API リファレンス
- Service API