# wx-intimate-pro **Repository Path**: lizhounet/wx-intimate-pro ## Basic Information - **Project Name**: wx-intimate-pro - **Description**: 贴心小助手客户端,微信机器人, 群管理、群合影、头像处理、智能机器人对话、好友互动、定时任务,情侣每日说等功能的配置 - **Primary Language**: JavaScript - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 2 - **Created**: 2022-07-20 - **Last Updated**: 2024-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 贴心小助手客户端 ## 依赖 node 版本 >16 ## 项目说明 - 贴心小助手客户端 QQ群:106425085 - 实现联系人管理、头像处理、智能机器人对话、好友互动、定时任务,情侣每日说等功能的配置 - 让你的个人微信号,可以像公众号一样自动收发消息 本项目是基于[wechaty](https://github.com/wechaty/wechaty) 的个人开源智能机器人项目,使用web uos协议版本实现 使用的免费的,现在web uos协议可以用了,不是使用的收费的ipad协议 文档地址:[wechaty中文文档](https://wechaty.gitbook.io/wechaty/v/zh/) ## 注意以下的applictionToken不是ipad协议的token,是后台配置里面的账号token,是免费的,找我开通账号后可以看到 ## 更多功能说明 - [x] 微信每日说,定时给女朋友发送每日天气提醒,以及每日一句 * 定时提醒 - [x] 定时发送新闻咨询,自定义发送内容,笑话,等等 * 智能机器人 - [x] 天行机器人,智能陪聊 * 关键词 - [x] 关键词配置自动回复 - [x] 给机器人发送"更新配置"机器人会自动拉取最新配置信息 - [x] 给机器人发送"更新联系人"机器人会自动上传最新联系人到后台 ## 开始使用 ### 注册天行数据账号 1、注册: [天行数据](https://www.tianapi.com/source/865c0f3bfa) 2、申请接口权限 必选接口 * [天行机器人](https://www.tianapi.com/apiview/47) * [天气](https://www.tianapi.com/apiview/72) * [分类新闻](https://www.tianapi.com/apiview/51) * [每日一句](https://www.tianapi.com/apiview/129) 其他接口自行申请使用 ### 配置后台参数 **我已经搭建好后台配置的服务,也可以自行部署后台服务,后台配置地址:https://wxbot.zhouli.info/ 需要可以联系作者(qq:1021907330)开通账号** **QQ群:106425085** - 配置天行参数,和其他配置 ![输入图片说明](https://images.gitee.com/uploads/images/2022/0721/142244_63a21e1f_1843061.png "屏幕截图.png") - 按需求配置定时任务,情侣每日说,关键词回复等功能 ### 运行机器人 #### 直接本地运行 ##### Step 1: 安装 克隆本项目,并进入项目根目录执行 `npm install`安装项目依赖 ##### Step 2: 配置 `src/index.js`代码中配置`applictionToken`和`platformHostUrl` ##### Step 3: 运行 执行命令`npm run start`,终端会显示二维码,直接扫码登录 #### docker运行 我已经构建好镜像到dockerhub了,直接pull我的镜像即可,也可源码自行构建,不做说明 ##### step1: 拉取镜像 ```shell docker pull lizhounet/wx-intimate:latest ``` ##### step2: 启动docker 配置好自己的token ```shell docker run -d -e APPLICTION_TOKEN=配置token --name wx-intimate-bot lizhounet/wx-intimate:latest ``` 启动成功后查看日志,查看登录二维码,扫码登录即可 ``` docker logs -f wx-intimate-bot ``` ## 功能截图 ![image](https://user-images.githubusercontent.com/59723463/180144721-049dc1ae-df39-4eba-8d38-b5d5e15b9059.png) ![image](https://user-images.githubusercontent.com/59723463/180144616-217c09f8-9d98-4f8e-be63-5048d3a32b83.png) ![image](https://user-images.githubusercontent.com/59723463/180144841-fc6bac22-7848-4ec6-813e-a5bd24e5b363.png) ![image](https://user-images.githubusercontent.com/59723463/180144994-3ee9e827-082d-4466-b7f6-4fa8e7393377.png) ![image](https://user-images.githubusercontent.com/59723463/180145098-0c9d3982-8c3d-4623-a8bd-1b65c6540254.png) ![image](https://user-images.githubusercontent.com/59723463/180145173-09889279-336e-4b4f-9192-a8ea30033be2.png) ![image](https://user-images.githubusercontent.com/59723463/180145296-ab8c9830-9f9b-42f0-9bed-75741098040f.png)