gitmyhub

EverydayWechat

Python ★ 10k updated 5y ago

微信助手:1.每日定时给好友(女友)发送定制消息。2.机器人自动回复好友。3.群助手功能(例如:查询垃圾分类、天气、日历、电影实时票房、快递物流、PM2.5等)

A Python tool that automates WeChat messages by sending a daily bundle of weather, quotes, and a relationship day count to a contact, and can auto-reply to messages using a third-party chatbot API.

PythonYAMLWeChat Websetup: moderatecomplexity 3/5

EverydayWechat is a Python tool for automating messages on WeChat, the Chinese messaging app. It operates through WeChat's web browser interface (wx.qq.com) rather than through an official API. There are three main features: scheduled daily messages to friends or group chats, automatic chatbot replies to incoming messages, and a group assistant that answers queries about weather, calendars, horoscopes, trash classification rules, package tracking, and air quality.

The scheduled message feature sends a bundle of information each day at a set time: local weather, a daily quote chosen from several sources, a count of how many days have passed since a specific date (useful for relationship milestones), and optional horoscope information. You configure recipient names, send times, and which content sources to use in a YAML file.

The auto-reply feature connects to third-party Chinese AI chatbot APIs to respond to incoming messages automatically. The configuration supports several chatbot providers including Turing Robot, Tencent AI, Tianxing, Qingyunke, and OwnThink. Each has different registration requirements and daily free usage limits. The default provider (OwnThink) works without registering an API key.

One important limitation is stated clearly in the README three times: the project depends on the WeChat web login, which WeChat has increasingly restricted. If your account cannot log in through the web interface, the tool will not work at all, and the README explicitly says there is no fix for this.

The tool is Python 3.5 or later, MIT licensed, and is prohibited from commercial use per the project's own rules.

Where it fits