{"repo":"CJackHwang/wx-filehelper-api","free":true,"listed":false,"github":"https://github.com/CJackHwang/wx-filehelper-api","clone":"git clone https://github.com/CJackHwang/wx-filehelper-api.git","description":"基于微信文件传输助手的轻量级机器人开发框架。适合提供给Agent进行二次开发。让你可以通过文件传输助手与AI交互。使用Telegramstyle接口方便开发集成。","language":"Python","stars":121,"topics":["bot","bot-framework","python","template","wechat"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"WeChat FileHelper Bot API 基于微信文件传输助手的 Bot API 框架，接口设计遵循 Telegram Bot API 标准。 特性 - Telegram Bot API 兼容 - 支持 sendMessage、sendDocument、getUpdates 等标准接口 - 插件系统 - 命令、消息处理器、HTTP 路由均可插件化 - 消息持久化 - SQLite 存储历史消息和文件元数据 - 自动文件下载 - 收到的文件自动保存到本地 - 定时任务 - 支持 Cron 式定时执行命令 - 稳定性增强 - 心跳检测、自动重连、会话保存 --- 快速开始 服务启动后访问 http://127.0.0.1:8000 登录微信 --- 项目结构 --- Telegram Bot API 获取更新 Parameter Type Required Description ----------- ------ ---------- ------------- offset Integer Optional 起始更新 ID limit Integer Optional 限制数量 (1-100) timeout Integer Optional 长轮询超时 Returns: Array of Update objects 发送消息 Parameter Type Required Description ----------- ------ ---------- ------------- text String Yes 消息内容 chat id String Optional 忽略 (仅 filehelper) reply to message id String Optional 回复消息 ID 发送文件 JSON 模式: Parameter Type Required Description ----------- ------ ---------- ------------- document String Yes 文件路径 caption String Optional 文件说明 Multipart 上传模式: 发送图片 其他接口 Endpoint Description ---------- ------------- GET /bot/getMe 获取 Bot 信息 GET /bot/getChat 获取 Chat 信息 GET /bot/getFile 获取文件信息 POST /bot/setWebhook 设置 Webhook POST /bot/deleteWebhook 删除 Webhook GET /bot/getWebhookInfo 获取 Webhook 信息 POST /bot/copyMessage 复制消息 --- 登录接口 WebUI 访问 http://127.0.0.1:8000/webui 可使用 Web 界面： - 自适应二维码展示 - 扫码状态实时反馈 - 服务器状态监控 --- 微信扩展接口 会话管理 文件管理 消息存储 --- 框架管理 API 这些接口由 plugins/framework api.py 提供，删除该文件可禁用。 框架状态 定时任务 插件管理 健康检查 调试 --- 插件开发 快速开始 在 plugins/ 目录创建 .py 文件即可： 完整示例 可用 API 函数 说明 ------ ------ get bot() 获取 WeChatHelperBot 实例 get ","default_branch":null,"files":null,"tree":[],"storefront":"/r/CJackHwang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/CJackHwang/wx-filehelper-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}