GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - beclass/wxbot: 微信机器人,个人微信号小助手平台, nodejs+nuxt + wechaty 技术栈

BranchesTags
Open more actions menu

Latest commit

 

History

26 Commits
26 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
bot
bot
 
 
components
components
 
 
layouts
layouts
 
 
pages
pages
 
 
plugins
plugins
 
 
server
server
 
 
static
static
 
 
store
store
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
config.js
config.js
 
 
nuxt.config.js
nuxt.config.js
 
 
package.json
package.json
 
 
pm2.config.js
pm2.config.js
 
 

Repository files navigation

wechat-robot

基于 nodejs,nuxt, wechaty 开发的个人微信号机器人平台,现代化 UI 和用户体验

Powered by Wechaty Wechaty开源激励计划

界面预览

  • 首页 首页
  • 后台管理 控制台 自动回复 我的好友 我的群聊 定时任务

在线实例

http://94.191.126.174:8081
用户名:guest 密码:111111

实现功能

  • 控制台
    • 绑定机器人
    • 登录
    • 自动通过好友验证关键词设置,当有人添加机器人时,关键词匹配后直接通过
    • 好友验证通过自动回复
    • 退出
  • 自动回复
    • 普通消息
      • 针对好友/某个群聊/所有群聊 设置关键词自动回复
    • 加群邀请
      • 机器人回复群聊列表,好友可以选择性进群
    • 踢人指令
      • 机器人识别指令,自动把成员移出群聊
  • 我的好友
    • 单独对某个好友送消息
  • 我的群聊
    • 群聊列表,管理所有群聊
    • 设置群聊名称,发布公告,发送群消息
    • 设置群聊基本信息,入群欢迎语,成员违规次数上限,是否受机器人控制
  • 定时任务
    • 针对好友/某个群聊/所有群聊设置定时任务,机器人在指定时间会触发消息推送
  • 智能聊天
    • 低智商对话
    • 成语接龙,查天气,查酒店,歇后语...

实际效果

首页

技术构成

  • 服务端 Node.js
  • SSR框架 NuxtJS
  • 前端框架 Vue
  • UI组件 Ant Design of Vue
  • 持久化 MongoDB
  • ipad协议 wechaty-puppet-padlocal

快速开始

准备条件

安装 Node.js (v10 以上版本)、MongoDB。
推荐安装 cnpm

安装依赖

$ cnpm i

本地单机插件版本

直接进入bot目录,也可将此目录单独移出至其他地方,修改配置文件config.js,再node index 启动即可

web版本

启动站点

  • 开发模式
$ npm run dev

打开浏览器,访问 http://localhost:3000/ 用户名密码: admin / 111111

  • 生产模式

先编译项目

$ npm run build

再启动站点

$ npm start

系统设置

根据实际情况修改 config.js 配置文件,修改后需要重启服务器才能生效。
参数说明:

host

String 类型,主机名,配置为 0.0.0.0 表示监听任意主机。

port

Number 类型,端口号。

mongoUrl

String 类型,MongoDB 链接。

secret

String 类型,JWT 秘钥。

tianApiKey

String 天行api秘钥

线上部署

使用PM2

推荐使用 pm2 进行 Node.js 的进程管理和持久运行。

安装

$ cnpm i -g pm2

启动

$ npm start

最后

有兴趣的朋友可以赏个star

还有很多待完善的功能,欢迎大家多给意见,一起学习。

好玩的东西总要先体验一把,扫码加我的小助手,验证消息写 机器人 即可直接通过啦,欢迎加群交流。

WechatIMG127

About

微信机器人,个人微信号小助手平台, nodejs+nuxt + wechaty 技术栈

94.191.126.174:8081

Topics

nodejsnuxtnuxt-adminwechaty

Resources

Readme
Activity

Stars

285 stars

Watchers

5 watching

Forks

70 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.