Files
AgentsMeeting/gateway/linux/mohe-wechat.service
T
zhiwei 7727e907e6 feat: 莫荷微信Bot Linux iLink版
新增 gateway/linux/ 目录,基于腾讯官方 iLink Bot API 的 Linux 原生实现。
替代 Windows wxhelper DLL 注入方案。

- wechat_agent.py: 核心 Agent (消息处理/OCR/文章处理/图片生成/5801服务)
- requirements.txt: weixin-bot-sdk + aiohttp + requests
- mohe-wechat.service: systemd 服务单元
- .env.example: 配置模板
- README.md: 使用说明

工作原理: iLink Bot API (ilinkai.weixin.qq.com)
  → QR扫码登录 → 长轮询收消息 → Hermes Gateway(:8642) 处理 → 回复
2026-06-23 20:40:19 +08:00

18 lines
578 B
Desktop File

[Unit]
Description=MoWeChat — 莫荷微信 Bot (Linux iLink 版)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=hmo
WorkingDirectory=/home/hmo/projects/AgentsMeeting/gateway/linux
ExecStart=/home/hmo/projects/AgentsMeeting/.venv/bin/python3 /home/hmo/projects/AgentsMeeting/gateway/linux/wechat_agent.py
Restart=on-failure
RestartSec=5
StandardOutput=append:/home/hmo/projects/AgentsMeeting/logs/wechat_agent_linux.log
StandardError=append:/home/hmo/projects/AgentsMeeting/logs/wechat_agent_linux.log
[Install]
WantedBy=multi-user.target