GithubHelp home page GithubHelp logo

gnuos / wechat-ai Goto Github PK

View Code? Open in Web Editor NEW
21.0 6.0 4.0 18 KB

微信公众号聊天机器人,类似于微信小冰的功能

License: Apache License 2.0

Go 95.10% Makefile 4.90%
wechat-bot golang-application

wechat-ai's Introduction

WeChat-AI

微信公众号聊天机器人,类似于微信小冰的功能

项目特点

  • 使用了Echo框架作为Web服务
  • 使用了silenceper/wechat微信SDK做微信消息处理
  • 使用了图灵机器人网站的AI接口
  • 使用JSON格式保存配置文件

安装

git clone https://github.com/gnuos/wechat-ai
cd wechat-ai
go get -v .
go build

快速开始

在安装之后,会生成一个wechat-ai文件,修改config.json配置文件,把相关的参数的值替换为你自己的环境,然后在项目目录中运行./wechat-ai,就启动成功了。 如果你用的操作系统是通过systemd管理服务的,可以将 wechat.service 文件复制到/lib/systemd/system/目录下面,然后将文件中的wechat-ai执行路径修改为你的路径,再执行systemctl daemon-reload命令重新加载服务文件,就可以通过systemd管理wechat-ai了。

开发文档

由于本项目主要是基于Echosilenceper/wechat框架的,如果要修改本项目的代码或者做研究学习,请参考以上两个项目的文档。

License

Apache License, Version 2.0

wechat-ai's People

Contributors

gnuos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.