From d11ea85b7319a753cdadca0a71c11911d895717c Mon Sep 17 00:00:00 2001
From: Dnyo666
Date: Tue, 1 Dec 2026 18:48:58 +0800
Subject: [PATCH] docs(readme): add GitHub organization and plugin development
sections
Document the reims-go GitHub organization, reims-go/plugins market repository, L1/L3/declarative plugin tiers, pkg/pluginsdk, and verified plugin development CLI commands in README.md and README.en.md.
---
README.en.md | 31 +++++++++++++++++++++++++++++--
README.md | 31 +++++++++++++++++++++++++++++--
2 files changed, 58 insertions(+), 4 deletions(-)
diff --git a/README.en.md b/README.en.md
index 5d09de3..d411fc2 100644
--- a/README.en.md
+++ b/README.en.md
@@ -34,8 +34,9 @@
Download ·
Quick Start ·
Screenshots ·
+ Plugins ·
Roadmap ·
- Community
+ Community
@@ -158,8 +159,34 @@ The binary is written to `build\bin\reims-go.exe`.
-## Community
+## Plugin Development
+Reims-Go ships an out-of-process plugin system with zero external runtime dependencies. Browse and install plugins from the built-in **Plugins** page or import a local `.zip` archive; if a third-party plugin breaks startup, launch with `reims-go --safe-mode` to skip all third-party plugins.
+
+- **L1 declarative plugins** (JSON + static assets): UI themes backed by the versioned [UI contract](./frontend/ui-contract.json), language packs (domain JSON + optional `.woff2` fonts), VM templates, runtime sources, input filters and rule hooks.
+- **L3 sidecar plugins** (standalone executables in any language): one isolated process per plugin speaking `Content-Length`-framed JSON-RPC 2.0 over stdin/stdout for custom guest drivers (such as non-macOS VMs), lifecycle hooks, custom commands and diagnostics; Go authors can use the zero-dependency SDK in [`pkg/pluginsdk`](./pkg/pluginsdk).
+- **Declarative UI extensions**: render native plugin settings from `settings` JSON Schema and contribute menu items, cards and status items to declared host slots.
+
+
+Plugin development CLI
+
+```powershell
+reims-go plugin link | Out-Host # Link a local plugin directory for development
+reims-go plugin doctor --contract frontend/ui-contract.json | Out-Host # Run static security, manifest and UI contract checks
+reims-go plugin locale init ja-JP --out | Out-Host # Scaffold a language pack
+reims-go plugin locale check | Out-Host # Validate language pack coverage and syntax
+reims-go plugin pack | Out-Host # Verify and pack a .zip with SHA256SUMS (optional --sign-key)
+reims-go plugin search | Out-Host # Browse the official plugin market
+```
+
+
+
+- Full architecture, `plugin.json` manifest reference, permission tiers and protocol spec: [`docs/plugin-architecture.md`](./docs/plugin-architecture.md)
+- Official plugin market index and submissions: [`reims-go/plugins`](https://github.com/reims-go/plugins)
+
+## Organization and Community
+
+- **GitHub Organization**: [`reims-go`](https://github.com/reims-go) — Maintains the official plugin market index ([`reims-go/plugins`](https://github.com/reims-go/plugins)) and ecosystem repositories; the desktop launcher repository lives at [`Nwflower/Reims-Go`](https://github.com/Nwflower/Reims-Go)
- **Discord**: [Join the Discord server](https://discord.gg/Tj682rW5rS) — Bilingual chat, troubleshooting, hardware compatibility reports, alpha testing and plugin development
- **QQ Group**: [1136042744](https://qm.qq.com/q/TBmRJlVbSo) — Chinese community chat and feedback
diff --git a/README.md b/README.md
index fa559cc..b795f5e 100644
--- a/README.md
+++ b/README.md
@@ -34,8 +34,9 @@
下载 ·
快速开始 ·
界面 ·
+ 插件与开发 ·
路线图 ·
- 社区交流
+ 项目组与社区
@@ -158,8 +159,34 @@ wails build
-## 社区交流
+## 插件与开发
+Reims-Go 内置进程外隔离的插件体系,零外部运行时依赖。可以在应用的「插件」页直接浏览安装官方市场插件或导入本地 `.zip` 包;如插件引发启动异常,可用 `reims-go --safe-mode` 跳过全部第三方插件恢复。
+
+- **L1 声明式插件**(纯 JSON + 静态资源):界面主题(基于稳定的 [UI 契约](./frontend/ui-contract.json))、多语种语言包(分域 JSON 与可选 `.woff2` 字体)、虚拟机模板、运行时源、输入过滤与规则 Hook。
+- **L3 Sidecar 插件**(任意语言独立可执行文件):每插件独立进程,通过 stdin/stdout `Content-Length` 分帧 JSON-RPC 2.0 通信,可用于非 macOS 虚拟机驱动、生命周期 Hook、自定义命令与排障采集;Go 开发者可直接使用零依赖 SDK [`pkg/pluginsdk`](./pkg/pluginsdk)。
+- **声明式 UI 扩展**:通过 `settings` JSON Schema 原生渲染插件设置页,向宿主预定义槽位贡献菜单项、卡片与状态项。
+
+
+插件开发常用命令
+
+```powershell
+reims-go plugin link | Out-Host # 链接本地插件目录用于开发调试
+reims-go plugin doctor --contract frontend/ui-contract.json | Out-Host # 静态安全扫描与清单/UI 契约校验
+reims-go plugin locale init ja-JP --out | Out-Host # 生成多语种语言包脚手架
+reims-go plugin locale check | Out-Host # 校验语言包覆盖率与格式
+reims-go plugin pack | Out-Host # 校验并打包 .zip(自动生成 SHA256SUMS,支持 --sign-key)
+reims-go plugin search | Out-Host # 浏览官方插件市场
+```
+
+
+
+- 完整插件架构、清单字段(`plugin.json`)、权限分级与协议规范见 [`docs/plugin-architecture.md`](./docs/plugin-architecture.md)
+- 官方插件市场索引与投稿发布见 [`reims-go/plugins`](https://github.com/reims-go/plugins)
+
+## 项目组与社区
+
+- **GitHub 项目组**:[`reims-go`](https://github.com/reims-go) — 维护官方插件市场索引([`reims-go/plugins`](https://github.com/reims-go/plugins))及周边生态项目;桌面客户端主仓库位于 [`Nwflower/Reims-Go`](https://github.com/Nwflower/Reims-Go)
- **Discord 社区**:[加入 Discord 服务器](https://discord.gg/Tj682rW5rS) — 中英双语交流、排障求助、硬件兼容性实测、Alpha 测试与插件开发
- **QQ 交流群**:[1136042744](https://qm.qq.com/q/TBmRJlVbSo) — 中文日常交流与使用反馈