<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>微信 on GbyAI</title>
    <link>https://gby.ai/tags/%E5%BE%AE%E4%BF%A1/</link>
    <description>Recent content in 微信 on GbyAI</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh</language>
    <copyright>Content under license [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)</copyright>
    <lastBuildDate>Thu, 20 Mar 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://gby.ai/tags/%E5%BE%AE%E4%BF%A1/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>企微、个微机器人调研</title>
      <link>https://gby.ai/wechat-bot/</link>
      <pubDate>Thu, 20 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://gby.ai/wechat-bot/</guid>
      <description>最近一段时间调研个微、企微机器人的结论，和一些结合微信比较好的项目 叠甲: 仅代表此时此刻 2025 年 3 月，调研不易，需要的盆友们各取所需吧。
开源项目 ： Wechaty 大部分微信机器人项目的基石，很多开源项目都是来源于此，支持的协议也是最多的，目前试用了它的网页版，基本的收发消息是可以用的，但是限制 2017 年之前注册的个微。iPad付费版慎用，听说被腾讯告了。 https://wechaty.js.org
Wechat4u 支持个微，使用 Webhook 协议，github star 1.8 k https://github.com/nodeWechat/wechat4u ，大部分个人开发者使用的项目，包括 idoubi 开发的知了阅读（转发文章获取总结）
Gewechat 支持个微，免费版 pad 协议，github star 2.5 k https://github.com/Devo919/Gewechat ，根据当前项目延伸出 dify-on-wechat, coze-on-wechat 等，gewechat要求必须搭建服务到同省服务器或者电脑里方可正常使用
Chatgpt-on-wechat 使用公众号、企微自建应用、钉钉、飞书等接入通道，其他通道为历史产物已不维护。感觉基本已经废废了，在 ChatGPT 火起来的时候狂飙 35 k star https://github.com/zhayujie/chatgpt-on-wechat ，当时还是支持个微的，企微是单独收费。前两天部署试了一下，历史的 Webhook 协议通道登录就被踢下线了。不过感觉可以联系一下官方使用收费版的 Pad 协议，替你们问过了专业版 7980+托管费 5000/账号/年
Dify-on-wechat 支持个微，继承自 Chatgpt-on-wechat，支持 itchat 协议（已废弃）、Gewechat 协议，Github star 2 k https://github.com/hanfangyuan4396/dify-on-wechat.
Wechat-bot 基于wechaty 框架，支持企微和个微。建议使用 Pad 协议，Github star 8 k https://github.</description>
    </item>
    <item>
      <title>py 自动抓取微信群消息</title>
      <link>https://gby.ai/grap-wechat-group-message/</link>
      <pubDate>Wed, 22 May 2019 00:00:00 +0000</pubDate>
      <guid>https://gby.ai/grap-wechat-group-message/</guid>
      <description>准备 准备一个 17 年之前的微信号，新账号有限制不可以登录网页微信扫码
准备国内的域名和服务器
过程 准备机器定时运行 py 脚本（可以用别的写） 本人微信自我检测时间验证最长为 1 天 12 个小时，最短几个小时，可以 crontab 设置10分钟检测登录状态，没有登录则发送微信或者邮件（免费 Mailgun）登录微信扫码图片，扫码登录即可
检测脚本抓到的固定群里面的固定信息（自己定义群名和信息），自己处理即可，无论入库分析，还是实时发送指定消息,可自由发挥
脚本例子 # 抓取所有加入“拼车”群名的群消息，找到包含“车找人”的消息，写入到wechat.log文件中 #!/usr/bin/python # coding:utf8 import logging,logging.handlers import itchat import time from itchat.content import * logging.basicConfig() myapp = logging.getLogger(&amp;#39;myapp&amp;#39;) myapp.setLevel(logging.INFO) filehandler = logging.handlers.TimedRotatingFileHandler(&amp;#34;./wechat.log&amp;#34;, when=&amp;#39;D&amp;#39;, interval=1) filehandler.suffix = &amp;#34;%Y-%m-%d.log&amp;#34; myapp.addHandler(filehandler) # 注册文字信息 设置为群聊信息 @itchat.msg_register([TEXT], isGroupChat=True) def group_reply_text(msg): if msg[&amp;#39;Type&amp;#39;] == TEXT: content = msg[&amp;#39;Content&amp;#39;] if &amp;#39;车找人&amp;#39; in content: myapp.info(&amp;#39;||%s&amp;#39; %content) itchat.auto_login(enableCmdQR=2) # 获取所有通讯录中的群聊 # 需要在微信中将需要同步的群聊都保存至通讯录 itchat.</description>
    </item>
  </channel>
</rss>
