Entari plugin for running Satori Server
Project description
entari-plugin-server
为 Entari 提供 Satori 服务器支持,基于此为 Entari 提供 ASGI 服务、适配器连接等功能
示例
plugins:
server:
adapters:
- $path: package.module:AdapterClass
# Following are adapter's configuration
key1: value1
key2: value2
host: 127.0.0.1
port: 5140
官方适配器
Satori适配器
安装:
pip install satori-python-adapter-satori
路径($path): @satori
配置:
host: 对接的 Satori Server 的地址,默认为localhostport: 对接的 Satori Server 的端口,默认为5140path: 对接的 Satori Server 的路径,默认为""token: 对接的 Satori Server 的访问令牌,默认为空post_update: 是否接管资源上传接口,默认为False
OneBot V11适配器
安装:
pip install satori-python-adapter-onebot11
路径($path): @onebot11.forward 或 @onebot11.reverse (正向或反向适配器)
配置(正向):
endpoint: 连接 OneBot V11协议端的路径access_token: OneBot V11协议的访问令牌, 默认为空
配置(反向):
prefix: 反向适配器于 Server 的路径前缀, 默认为/path: 反向适配器于 Server 的路径, 默认为onebot/v11endpoint: 反向适配器于 Server 的路径端点, 默认为ws(完整路径即为/onebot/v11/ws)access_token: 反向适配器的访问令牌, 默认为空
Console适配器
安装:
pip install satori-python-adapter-console
路径($path): @console
配置:参考 ConsoleSetting
社区适配器
Lagrange适配器
安装:
pip install nekobox
路径($path): nekobox.main
配置:
uin: 登录的QQ号sign_url: 签名服务器的URLprotocol: 使用的协议类型,默认为linux,可选值为linux,macos,windows,remotelog_level: 日志级别,默认为INFOuse_png: 登录二维码是否保存为PNG图片,默认为False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file entari_plugin_server-0.2.3.tar.gz.
File metadata
- Download URL: entari_plugin_server-0.2.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.1 CPython/3.9.13 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
479663aeb5b06f5e6ebaa1532751644ae6a5d56a00b462e4b69736abd725f44b
|
|
| MD5 |
6ade200c106721b1c116ecccb78852d6
|
|
| BLAKE2b-256 |
4629741c9d924c98d88571f886113a901ae660b0659ea8f7020851da77f28817
|
File details
Details for the file entari_plugin_server-0.2.3-py3-none-any.whl.
File metadata
- Download URL: entari_plugin_server-0.2.3-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.1 CPython/3.9.13 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd67dbdc91fc63f620632b0bb16e82992d01947d18da3232df826973ded7ac29
|
|
| MD5 |
0db2e9c878b78d857385c02fb4ef90b6
|
|
| BLAKE2b-256 |
cb0b069b0c8a84fc28cfd1c57f8db44a95c39b278d15789d7631e63eeb848a44
|