Metadata-Version: 2.4
Name: ErisPulse-MyServer
Version: 1.0.0
Summary: 服务器管理模块 - 支持远程监控、WebSocket终端、Dashboard管理
Author-email: wsu2059q <wsu2059@qq.com>
License: MIT License
        
        Copyright (c) 2026 wsu2059q
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: homepage, https://github.com/wsu2059q/ErisPulse-MyServer
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: asyncssh>=2.14.0
Dynamic: license-file

# ErisPulse-MyServer

服务器管理模块 — 支持远程监控、WebSocket 终端、Dashboard 管理

## 截图

<p align="center">
  <img src=".github/base.png" width="45%" />
  <img src=".github/exec.png" width="45%" />
</p>

## 功能

- **服务器卡片** — 自动显示 CPU、内存、磁盘、负载等信息
- **WebSocket 终端** — 基于 xterm.js，支持颜色、光标闪烁、交互式程序
- **Dashboard 管理** — 添加/删除服务器、查看状态、终端连接
- **多种认证** — 支持密码和私钥登录

## 命令

| 命令 | 说明 |
|------|------|
| `/server` | 查看服务器列表 |
| `/server info` | 查看所有服务器状态 |
| `/server add` | 添加服务器 |
| `/server rm [名称]` | 删除服务器 |
| `/server exec [名称]` | 进入聊天终端 |

## Dashboard

<p align="center">
  <img src=".github/dash.png" width="80%" />
</p>

- 服务器卡片自动显示系统信息
- 添加服务器（支持密码/私钥）
- 删除服务器
- WebSocket 终端

## 配置

```toml
[MyServer]
exec_timeout = 30
admin_users = []
```
