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.
This commit is contained in:
1 parent
2fde035993
commit
d11ea85b73
2 files changed
+58
-4
No files matched your search
+29
-2
@@ -34,8 +34,9 @@
|
||||
<a href="https://github.com/Nwflower/Reims-Go/releases"><strong>Download</strong></a> ·
|
||||
<a href="#quick-start">Quick Start</a> ·
|
||||
<a href="#screenshots">Screenshots</a> ·
|
||||
<a href="#plugin-development">Plugins</a> ·
|
||||
<a href="./docs/roadmap.md">Roadmap</a> ·
|
||||
<a href="#community">Community</a>
|
||||
<a href="#organization-and-community">Community</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
@@ -158,8 +159,34 @@ The binary is written to `build\bin\reims-go.exe`.
|
||||
|
||||
</details>
|
||||
|
||||
## 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.
|
||||
|
||||
<details>
|
||||
<summary>Plugin development CLI</summary>
|
||||
|
||||
```powershell
|
||||
reims-go plugin link <dir> | Out-Host # Link a local plugin directory for development
|
||||
reims-go plugin doctor --contract frontend/ui-contract.json <dir|zip> | Out-Host # Run static security, manifest and UI contract checks
|
||||
reims-go plugin locale init ja-JP --out <dir> | Out-Host # Scaffold a language pack
|
||||
reims-go plugin locale check <dir> | Out-Host # Validate language pack coverage and syntax
|
||||
reims-go plugin pack <dir> | Out-Host # Verify and pack a .zip with SHA256SUMS (optional --sign-key)
|
||||
reims-go plugin search | Out-Host # Browse the official plugin market
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
- 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
|
||||
|
||||
|
||||
@@ -34,8 +34,9 @@
|
||||
<a href="https://github.com/Nwflower/Reims-Go/releases"><strong>下载</strong></a> ·
|
||||
<a href="#快速开始">快速开始</a> ·
|
||||
<a href="#界面">界面</a> ·
|
||||
<a href="#插件与开发">插件与开发</a> ·
|
||||
<a href="./docs/roadmap.md">路线图</a> ·
|
||||
<a href="#社区交流">社区交流</a>
|
||||
<a href="#项目组与社区">项目组与社区</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
@@ -158,8 +159,34 @@ wails build
|
||||
|
||||
</details>
|
||||
|
||||
## 社区交流
|
||||
## 插件与开发
|
||||
|
||||
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 原生渲染插件设置页,向宿主预定义槽位贡献菜单项、卡片与状态项。
|
||||
|
||||
<details>
|
||||
<summary>插件开发常用命令</summary>
|
||||
|
||||
```powershell
|
||||
reims-go plugin link <dir> | Out-Host # 链接本地插件目录用于开发调试
|
||||
reims-go plugin doctor --contract frontend/ui-contract.json <dir|zip> | Out-Host # 静态安全扫描与清单/UI 契约校验
|
||||
reims-go plugin locale init ja-JP --out <dir> | Out-Host # 生成多语种语言包脚手架
|
||||
reims-go plugin locale check <dir> | Out-Host # 校验语言包覆盖率与格式
|
||||
reims-go plugin pack <dir> | Out-Host # 校验并打包 .zip(自动生成 SHA256SUMS,支持 --sign-key)
|
||||
reims-go plugin search | Out-Host # 浏览官方插件市场
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
- 完整插件架构、清单字段(`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) — 中文日常交流与使用反馈
|
||||
|
||||
|
||||
Reference in new issue
Block a user