ErisPulse-AdapterConfig
ErisPulse Dashboard 的适配器配置扩展模块,提供可视化的适配器配置界面,支持快速配置各类适配器参数。
功能
- 在 Dashboard 中以可视化表单管理适配器配置
- 自动发现已注册的适配器并匹配对应 Schema
- 支持多账号适配器的账号管理(添加/删除/切换)
- 保存配置后一键重启适配器使配置生效
- 支持 flat / multi_account 两种配置结构
- 中英双语界面
支持的适配器
| Schema Key | 适配器 | 类型 |
|---|---|---|
| yunhu | 云湖 | 多账号 |
| yunhu_user | 云湖(用户) | 多账号 |
| telegram | Telegram | flat |
| onebot | OneBot v11 | 多账号 |
| onebot12 | OneBot v12 | 多账号 |
| 邮件 | 多账号 | |
| kook | Kook | flat |
| matrix | Matrix | flat |
| qqbot | QQ 机器人 | flat |
| ideaura | 花枫咖啡馆 | 多账号 |
| sandbox | 沙箱 | flat |
安装
pip install ErisPulse-AdapterConfig
无任何主动功能,仅为 Dashboard 模块提供view 和 API。
使用
安装后模块通过 entry-point 自动注册,无需手动配置。启动 ErisPulse 后在 Dashboard 侧边栏的「工具」分组中即可看到「适配器配置」页面。
API
模块注册了以下 HTTP 接口(需 Dashboard Token 认证):
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /AdapterConfig/api/schema |
获取所有适配器列表及 Schema |
| GET | /AdapterConfig/api/config/{platform} |
获取指定适配器当前配置 |
| PUT | /AdapterConfig/api/config/{platform} |
保存指定适配器配置 |
| POST | /AdapterConfig/api/restart/{platform} |
重启指定适配器 |
项目结构
AdapterConfig/
├── __init__.py # 模块入口
├── Core.py # 主逻辑:路由注册、Dashboard 视图注册
├── schemas.py # 适配器 Schema 定义及匹配逻辑
└── templates/
├── view.html # 页面模板
├── view.js # 前端交互逻辑
└── view.css # 样式
License
MIT
Metadata
Release files for ErisPulse-AdapterConfig 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| erispulse_adapterconfig-1.0.0.tar.gz | 15.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| erispulse_adapterconfig-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.5 kB
Release files / erispulse_adapterconfig-1.0.0.tar.gz
| Download URL | erispulse_adapterconfig-1.0.0.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d89038406e820d17eb54efaa6083b039af76c6947d05d7d2dfacea8a03234e9
|
|
BLAKE2b-256 checksum How to use checksums |
8c4ffed7ae270675e16615ed390cd3d26b869f992c5c5db4a90a37c1f273b17a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency logRelease files / erispulse_adapterconfig-1.0.0-py3-none-any.whl
| Download URL | erispulse_adapterconfig-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb3bd25d40c064f31fdc0ad30c10642239a28c752c8c159a4857353071ec0055
|
|
BLAKE2b-256 checksum How to use checksums |
cb22533b15be21bf20b3f919702d848de5fe48721911af7777cdb9fa14456f8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2026.
Transparency log