sunnywangzi/dsh-server-admin ↗★ 0
dsh-server-admin
DSH 服务器管理面板:在线重启/停止、systemd 一键保活、在线安装插件、运行状态监控、活跃会话、命令终端。
AI 分析
核心用途是提供 DSH 服务端的一站式运维管理。适合将 DSH 部署在服务器上、需要在线监控资源、管理服务状态、执行终端命令及便捷安装插件的系统管理员。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sunnywangzi/dsh-server-admin说明文档
阅读完整 README ↗🚀 使用
- 登录 DSH Web 界面
- 点击左侧底部 ⚙️ 设置
- 在设置面板左侧导航中选择 「服务器管理」
- 各卡片说明:
| 卡片 | 用途 |
|---|---|
| 保活(Keep-alive) | 查看当前托管模式;一键启用 systemd 保活 / 回退 screen;查看将写入的 systemd 配置 |
| 在线控制 | 重启 / 停止 DSH(带 5 秒倒计时确认) |
| 运行状态 | PID、资源占用、版本、磁盘、托管模式,每 2 秒自动刷新 |
| 在线安装插件 | 输入 npm 包名或 git 地址,一键安装并回显输出 |
| 活跃会话 | 查看运行中的对话会话(默认折叠) |
| 命令终端 | 执行服务器命令并查看输出 |
🚀 Usage
- Sign in to the DSH Web UI.
- Click the ⚙️ gear icon at the bottom of the left sidebar.
- Choose Server Admin in the settings navigation.
- Cards: Keep-alive (hosting mode + enable/rollback + unit preview), Online Control (restart/stop), Runtime Status (auto-refresh), Install Plugin, Active Sessions (collapsed), Command Terminal.