MCPcopy Create free account
hub / github.com/djun/wechatbot

github.com/djun/wechatbot @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
22 symbols 50 edges 7 files 15 documented · 68% updated 2y ago★ 951

Browse by type

Functions 14 Types & classes 8
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

wechatbot

最近chatGPT异常火爆,想到将其接入到个人微信是件比较有趣的事,所以有了这个项目。项目基于openwechat 开发

目前实现了以下功能

  • 群聊@回复
  • 私聊回复
  • 自动通过回复

注册openai

chatGPT注册可以参考这里

安装使用

````

获取项目

git clone https://github.com/869413421/wechatbot.git

进入项目目录

cd wechatbot

复制配置文件

copy config.dev.json config.json

启动项目

go run main.go

启动前需替换config中的api_key

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 8
Method 6
Struct 6
Interface 1
TypeAlias 1

Languages

Go100%

Modules by API surface

handlers/handler.go6 symbols
handlers/user_msg_handler.go4 symbols
handlers/group_msg_handler.go4 symbols
gtp/gtp.go4 symbols
config/config.go2 symbols
main.go1 symbols
bootstrap/bootstrap.go1 symbols

For agents

$ claude mcp add wechatbot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page