2 Star 0 Fork 1

zhanglianzhong / weChatRobot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

weChatRobot

一个简单的智能聊天机器人项目,基于微信公众号和图灵机器人开发。

qrcode

功能介绍:

本项目是一个微信公众号项目,需配合微信公众号使用,在微信公众号配置本项目运行的服务器域名,用户关注公众号后,向公众号发送任意信息,公众号会根据用户发送的内容自动回复。

涉及框架及技术

  • JDK 1.8
  • SpringBoot 2.2.6.RELEASE
  • FastJson
  • Log4j2 + Slf4j
  • XStream

使用说明:

  1. 使用之前需要有微信公众号的帐号以及图灵机器人的帐号,没有的请戳微信公众号申请图灵机器人帐号注册,。
  2. 在src/main/resources目录下的application.yml文件里面配置相关的key。
  3. 微信公众号URL配置为http://robot.doodl6.com/weChat/receiveMessage,其中robot.doodl6.com是你自己的域名,token与application.yml文件配置一致即可。
  4. 本地启动入口:com.doodl6.wechatrobot.WebStarter直接运行
  5. 本地jar包运行:本地打包得到weChatRobot.jar这个文件,使用命令java -jar weChatRobot.jar即可运行,
  6. 服务器jar包部署,使用使用命令mvn clean install -P deploy打包得到jar文件,上传到服务器后使用命令nohup java -jar weChatRobot.jar > ./console.log &在后台运行,在执行命令的当前目录查看console日志以及logs目录查看业务日志

支持的功能

  • 自动回复文本消息,回复内容来自于图灵机器人
  • 自定义关键字回复内容
MIT License Copyright (c) 2018 Martin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个基于微信公众号和图灵机器人开发的自动回复机器人项目。 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/zhanglianzhong/weChatRobot.git
git@gitee.com:zhanglianzhong/weChatRobot.git
zhanglianzhong
weChatRobot
weChatRobot
master

搜索帮助