Skip to main content

ErisPulse Dashboard adapter configuration module

Project description

ErisPulse-AdapterConfig

ErisPulse Dashboard 的适配器配置扩展模块,提供可视化的适配器配置界面,支持快速配置各类适配器参数。

功能

  • 在 Dashboard 中以可视化表单管理适配器配置
  • 自动发现已注册的适配器并匹配对应 Schema
  • 支持多账号适配器的账号管理(添加/删除/切换)
  • 保存配置后一键重启适配器使配置生效
  • 支持 flat / multi_account 两种配置结构
  • 中英双语界面

支持的适配器

Schema Key 适配器 类型
yunhu 云湖 多账号
yunhu_user 云湖(用户) 多账号
telegram Telegram flat
onebot OneBot v11 多账号
onebot12 OneBot v12 多账号
mail 邮件 多账号
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

erispulse_adapterconfig-1.0.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

erispulse_adapterconfig-1.0.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file erispulse_adapterconfig-1.0.0.tar.gz.

File metadata

  • Download URL: erispulse_adapterconfig-1.0.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for erispulse_adapterconfig-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3d89038406e820d17eb54efaa6083b039af76c6947d05d7d2dfacea8a03234e9
MD5 24f9d57065e5bce19cc95821978daba1
BLAKE2b-256 8c4ffed7ae270675e16615ed390cd3d26b869f992c5c5db4a90a37c1f273b17a

See more details on using hashes here.

Provenance

The following attestation bundles were made for erispulse_adapterconfig-1.0.0.tar.gz:

Publisher: python-publish.yml on wsu2059q/ErisPulse-AdapterConfig

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file erispulse_adapterconfig-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for erispulse_adapterconfig-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb3bd25d40c064f31fdc0ad30c10642239a28c752c8c159a4857353071ec0055
MD5 059441c02192d208886f94f00b7231b5
BLAKE2b-256 cb22533b15be21bf20b3f919702d848de5fe48721911af7777cdb9fa14456f8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for erispulse_adapterconfig-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on wsu2059q/ErisPulse-AdapterConfig

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page