Compare commits

...

25 Commits

Author SHA1 Message Date
0085c70266 feat: 统一配置文件管理 + Cron任务同步优化
- 新增配置导出/导入功能,支持一键下载和上传配置文件
- 配置文件包含:项目配置、外部服务、预警阈值、网页设置(对外IP、刷新间隔)
- 预警阈值和网页设置保存到服务器端,不再使用localStorage
- Cron任务同步改为清空旧任务,只同步当前账号实际存在的任务
- 新增API: /api/config/export, /api/config/import
- 新增API: /api/web-settings, /api/alerts (增强版)
- 优化前端:自动加载和保存网页设置
2026-06-01 12:12:35 +08:00
5f9439c8a9 chore: 更新仓库地址到hz4th_coder账号下 2026-06-01 11:15:24 +08:00
0d0354ac4e feat: CPU温度监控 + 端口统一调整为16022
- 添加双CPU Package温度显示 (CPU0/CPU1)
- 端口从19013改为16022
- projects.json精简配置,适配hz1服务器
- Git仓库地址更新为新地址
2026-06-01 11:08:08 +08:00
47a38032a6 fix: AI Chat App启动路径修正,directory改为backend目录 2026-04-29 16:22:37 +08:00
b59931f357 feat: 添加AI Chat App项目配置 2026-04-29 16:18:28 +08:00
1420b08a43 fix: 完全修复内存图标 - ri-database-2-line 2026-04-24 10:48:30 +08:00
cd5bdb5938 fix: 修复内存使用率图标不显示问题
- ri-memory-card-line 不是有效的 Remix Icon
- 替换为 ri-database-2-line 图标
2026-04-24 10:42:29 +08:00
69ade8dcbb feat: 进程列表显示开关(默认不显示) 2026-04-24 00:20:20 +08:00
7926a5b51f feat: 实时监控显示CPU占用最高的进程列表 2026-04-23 23:58:38 +08:00
26e0ed26e1 fix: renderEmailRules函数语法错误修复 2026-04-23 23:40:55 +08:00
edbaa9a257 feat: 邮件通知规则多种触发机制 2026-04-23 23:33:35 +08:00
b2a0b66492 feat: 邮件通知规则添加静默时间区间 2026-04-23 23:26:36 +08:00
9202e4c202 feat: 邮件通知规则功能 2026-04-23 23:04:24 +08:00
38db7b0606 fix: JavaScript换行符转义问题 2026-04-23 18:31:07 +08:00
6e5b963b3f fix: 修复desktopNotifyEnabled变量重复声明 2026-04-23 18:27:08 +08:00
a201b0356a fix: JavaScript变量声明顺序修复 2026-04-23 18:08:57 +08:00
71dd1d3aff feat: 系统桌面通知功能 2026-04-23 17:54:02 +08:00
55cc408881 feat: 系统资源阈值监控和弹窗警告 2026-04-23 17:48:31 +08:00
ca7527918d feat: 实时监控频率可调节 2026-04-23 17:35:59 +08:00
7f7f71a286 feat: 系统资源实时监控和网速显示 2026-04-23 17:28:49 +08:00
8579d58890 fix: 筛选按钮改为顶部横向带文字显示 2026-04-23 16:56:57 +08:00
f8a32ab6be fix: 更新版本号v2.3 2026-04-23 16:52:27 +08:00
56975f9b0d feat: 筛选按钮改为右侧固定导航按钮 2026-04-23 16:50:41 +08:00
b2900febf9 fix: 更新版本号标题为v2.2 2026-04-23 12:57:07 +08:00
17e946ae56 feat: 自定义新增外部web服务功能 2026-04-23 12:55:56 +08:00
10 changed files with 32124 additions and 308 deletions

Binary file not shown.

Binary file not shown.

12
alert_config.json Normal file
View File

@@ -0,0 +1,12 @@
{
"thresholds": {
"cpu": 75,
"memory": 80,
"disk": 85,
"interval": 60
},
"web_settings": {
"external_ip": "121.40.164.32",
"refresh_interval": 30
}
}

1802
app.py

File diff suppressed because it is too large Load Diff

Binary file not shown.

30365
logs/app.log

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
==================================================
[2026-06-01T11:59:52.266560] start
Command: mkdir -p logs && nohup /home/hz1/miniconda3/envs/openclaw/bin/python3.12 app.py > logs/app.log 2>&1 & disown
Directory: /home/openclaw/.openclaw/workspace-hz4th_coder/works/pdf-translate-web
/bin/sh: 1: disown: not found

6
logs/voice-chat-web.log Normal file
View File

@@ -0,0 +1,6 @@
==================================================
[2026-04-22T12:29:26.685865] start
Command: mkdir -p logs && MODEL_SERVICE_URL=http://192.168.2.5:12001 nohup python3 main.py > logs/server.log 2>&1 & disown
Directory: /home/xian/.openclaw/workspace-coder/works/voice-chat-web
/bin/sh: 1: disown: not found

View File

@@ -79,3 +79,9 @@ Directory: /home/xian/.openclaw/workspace-coder/works/xian-favor
Command: mkdir -p logs && nohup python3 -c "from xian_favor.api import start_server; start_server(port=19014)" > logs/app.log 2>&1 & disown
Directory: /home/xian/.openclaw/workspace-coder/works/xian-favor
/bin/sh: 1: disown: not found
==================================================
[2026-04-23T00:57:27.686904] start
Command: mkdir -p logs && nohup python3 -c "from xian_favor.api import start_server; start_server(port=19014)" > logs/app.log 2>&1 & disown
Directory: /home/xian/.openclaw/workspace-coder/works/xian-favor
/bin/sh: 1: disown: not found

View File

@@ -1,221 +1,48 @@
{
"server": {
"name": "hz1-PowerEdge-R730xd",
"description": "黄庄1号服务器 - PowerEdge R730xd",
"python_path": "/home/hz1/miniconda3/envs/openclaw/bin/python3.12",
"updated": "2026-06-01"
},
"projects": [
{
"id": "pdf-translate-v2",
"name": "PDF翻译助手 V2",
"id": "pdf-translate-web",
"name": "PDF翻译助手",
"type": "web",
"ports": [19000],
"directory": "works/pdf-translate-web-v2",
"start_cmd": "mkdir -p logs && nohup python3 app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19000/api/health",
"ports": [16021],
"directory": "works/pdf-translate-web",
"start_cmd": "mkdir -p logs && nohup /home/hz1/miniconda3/envs/openclaw/bin/python3.12 app.py > logs/app.log 2>&1 & disown",
"stop_cmd": "pkill -f 'python.*pdf-translate-web.*app.py' || true",
"health_url": "http://localhost:16021/",
"description": "英文PDF翻译中文网站支持用户系统、会员体系",
"admin_url": "http://localhost:19000/admin",
"git_repo": "http://192.168.2.8:12007/coder/pdf-translate-web",
"version": "v2.1.0"
},
{
"id": "llm-index-rag",
"name": "LLM Index RAG",
"type": "web",
"ports": [19001],
"directory": "works/llm-index-rag",
"start_cmd": "mkdir -p logs && nohup python3 app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19001/api/stats",
"description": "基于索引和搜索的知识检索系统",
"admin_url": "http://localhost:19001/settings",
"git_repo": "http://192.168.2.8:12007/coder/llm-index-rag",
"version": "v1.1.2"
},
{
"id": "snippet-notes",
"name": "碎片信息记录",
"type": "web",
"ports": [19009],
"directory": "works/snippet-notes",
"start_cmd": "mkdir -p logs && nohup python3 app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19009/api/notes",
"description": "碎片信息记录工具AI自动生成标题",
"git_repo": null,
"version": "v1.0.0"
},
{
"id": "param-hub",
"name": "ParamHub Python",
"type": "web",
"ports": [19010],
"directory": "works/param-hub-python",
"start_cmd": "mkdir -p logs && nohup python3 app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19010/api/stats",
"description": "AI大模型与硬件参数速查平台",
"admin_url": "http://localhost:19010/admin",
"git_repo": "http://192.168.2.8:12007/coder/param-hub-python",
"version": "v1.2.0"
},
{
"id": "ai-chat-system",
"name": "AI对话系统",
"type": "web",
"ports": [19020],
"directory": "works/ai-chat",
"start_cmd": "mkdir -p logs && nohup python3 main_v2.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19020/api/admin/stats",
"description": "网页端和Matrix端实时同步的AI聊天系统",
"admin_url": "http://localhost:19020/admin",
"git_repo": "http://192.168.2.8:12007/coder/ai-chat-system",
"version": "v2.5.4"
},
{
"id": "product-crawler",
"name": "产品参数爬取系统",
"type": "web",
"ports": [19011],
"directory": "/home/xian/.openclaw/common/projects/product-crawler",
"start_cmd": "mkdir -p logs && nohup python3 app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19011/api/products",
"description": "自动从官网爬取产品参数信息",
"admin_url": "http://localhost:19011/admin",
"git_repo": "http://192.168.2.8:12007/coder/product-crawler",
"version": "v2.0.0"
},
{
"id": "llm-proxy",
"name": "LLM Proxy",
"type": "web",
"ports": [19007],
"directory": "/home/xian/.openclaw/common/projects/llm-proxy",
"start_cmd": "mkdir -p logs && nohup python3 app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19007/health",
"description": "大模型API中转系统多提供商调度",
"admin_url": "http://localhost:19007/admin",
"git_repo": "http://192.168.2.8:12007/coder/llm-proxy",
"admin_url": "http://localhost:16021/admin",
"git_repo": "http://121.40.164.32:12007/coder/pdf-translate-web",
"version": "v2.0.0"
},
{
"id": "project-panel",
"name": "项目服务管理面板",
"type": "web",
"ports": [19013],
"ports": [16022],
"directory": "works/project-panel",
"start_cmd": "mkdir -p logs && nohup python3 app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19013/",
"start_cmd": "mkdir -p logs && nohup /home/hz1/miniconda3/envs/openclaw/bin/python3.12 app.py > logs/app.log 2>&1 & disown",
"stop_cmd": "pkill -f 'python.*project-panel.*app.py' || true",
"health_url": "http://localhost:16022/",
"description": "统一管理所有Web服务项目",
"admin_url": "http://localhost:19013",
"git_repo": "http://192.168.2.8:12007/coder/project-panel",
"version": "v1.0.1"
},
"admin_url": "http://localhost:16022",
"git_repo": "http://121.40.164.32:12007/hz4th_coder/project-panel",
"version": "v2.0.0"
}
],
"external_services": [
{
"id": "web-context-extension",
"name": "网页助手插件",
"type": "extension",
"directory": "works/web-context-extension",
"description": "浏览器扩展右键菜单支持收藏网页、AI总结",
"git_repo": "http://192.168.2.8:12007/coder/web-context-extension",
"version": "v0.1.0"
},
{
"id": "service-monitor",
"name": "Web服务监控",
"type": "cron",
"directory": "works/service-monitor",
"cron": "*/20 * * * *",
"cron_cmd": "/usr/bin/python3 /home/xian/.openclaw/workspace-coder/works/service-monitor/monitor.py",
"description": "每20分钟检查服务状态邮件通知",
"git_repo": "http://192.168.2.8:12007/coder/service-monitor",
"version": "v1.0.0"
},
{
"id": "board-monitor",
"name": "A股板块监控",
"type": "cron",
"directory": "works/board-monitor",
"cron": "0 17 * * 1-5",
"cron_cmd": "python3 board_monitor.py report",
"description": "每个交易日17:00发送板块分析报告",
"git_repo": "http://192.168.2.8:12007/coder/board-monitor",
"version": "v1.3.0"
},
{
"id": "stock-system",
"name": "A股历史数据系统",
"type": "cli",
"directory": "/home/xian/.openclaw/common/stock_system",
"run_cmd": "python3 fetch_history_v2.py",
"description": "获取A股历史行情数据支持断点续传",
"git_repo": "http://192.168.2.8:12007/coder/stock_system",
"version": "v0.2.0"
},
{
"id": "pdf-translator",
"name": "PDF翻译脚本",
"type": "cli",
"directory": "works/pdf-translator",
"run_cmd": "python3 translate_pdf.py",
"description": "命令行PDF翻译工具",
"git_repo": null,
"version": "v1.0.0"
},
{
"id": "xian-favor",
"name": "Xian Favor 收藏系统",
"type": "web",
"ports": [19014],
"directory": "works/xian-favor",
"start_cmd": "mkdir -p logs && nohup python3 -c \"from xian_favor.api import start_server; start_server(port=19014)\" > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19014/api/items?limit=1",
"description": "文本笔记、链接收藏、待办事项管理系统",
"admin_url": "http://localhost:19014",
"git_repo": "http://192.168.2.8:12007/coder/xian-favor",
"version": "v3.5.0"
},
{
"id": "multi-agent-bidding",
"name": "多智能体竞标调度系统",
"type": "web",
"ports": [19015],
"directory": "works/multi-agent-bidding",
"start_cmd": "mkdir -p logs && nohup python3 -m app.app --port 19015 > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19015/api/agents",
"description": "基于竞标机制的多智能体任务调度系统",
"admin_url": "http://localhost:19015",
"git_repo": "http://192.168.2.8:12007/coder/multi-agent-bidding",
"version": "v1.0.0"
},
{
"id": "tech-forum",
"name": "技术论坛",
"type": "web",
"ports": [19004],
"directory": "/home/xian/.openclaw/common/projects/tech-forum",
"start_cmd": "mkdir -p logs && nohup python3 backend/app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19004/api/health",
"description": "技术交流、工具分享、问答讨论社区",
"admin_url": "http://localhost:19004/admin",
"git_repo": "http://192.168.2.8:12007/coder/tech-forum",
"version": "v1.2.0"
},
{
"id": "image-editor",
"name": "图片编辑器",
"type": "web",
"ports": [19018],
"directory": "works/image-editor",
"start_cmd": "mkdir -p logs && nohup python3 app.py > logs/app.log 2>&1 & disown",
"health_url": "http://localhost:19018/api/health",
"description": "前端图片处理:合并、分割、挖孔、圆形切图、文字图片",
"git_repo": "http://192.168.2.8:12007/coder/image-editor",
"version": "v1.2.1"
},
{
"id": "voice-chat-web",
"name": "语音对话网页",
"type": "web",
"ports": [19019],
"directory": "works/voice-chat-web",
"start_cmd": "mkdir -p logs && MODEL_SERVICE_URL=http://192.168.2.5:12001 nohup python3 main.py > logs/server.log 2>&1 & disown",
"health_url": "http://localhost:19019/api/status",
"description": "基于Qwen2-Audio的语音交互网页支持录音和文字对话",
"git_repo": "http://192.168.2.8:12007/coder/voice-chat-web",
"version": "v1.2.0"
"id": "meilisearch",
"name": "Meilisearch 搜索引擎",
"type": "external",
"ports": [16001],
"health_url": "http://localhost:16001/health",
"description": "高性能搜索引擎,只读监控"
}
]
}