Git Product home page Git Product logo

wxbot's Introduction

wx机器人

开始

前提条件

  • 微信号一个
  • 微信号有web权限(https://wx.qq.com 能登陆)
  • uos协议能用,支持所有微信号

更新

//除非重大更新,否则不必重新拉去镜像
docker exec -it wxbot git pull

docker exec -it wxbot npm i

//更新并【填写】配置文件
cd /root/wxbot/conf && mv config.js config.js.bak

wget  https://ghproxy.com/https://raw.githubusercontent.com/hxianseng/wxbot/master/src/conf/config.js


//重启容器
docker restart wxbot

配合青龙

  • 推送通知
  • 短信登录(对接的maiark)
  • 自动对接青龙一对一通知
    • 京东资产变动通知
    • 京东农场水果成熟通知
    • 京东CK检测
    • 其他有需要的请在下文找到TG联系我
    • 目前支持自动对接的库:faker3

推送接口

联系方式

效果展示

安装

//安装docker
sudo curl -sSL get.docker.com | sh

//配置国内源
mkdir -p /etc/docker
tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": [
    "https://0b27f0a81a00f3560fbdc00ddd2f99e0.mirror.swr.myhuaweicloud.com",
    "https://ypzju6vq.mirror.aliyuncs.com",
    "https://registry.docker-cn.com",
    "http://hub-mirror.c.163.com",
    "https://docker.mirrors.ustc.edu.cn"
  ]
}
EOF

systemctl daemon-reload

systemctl restart docker

//拉取镜像
docker pull hxiansen/wxbot:latest

cd /root && mkdir -p wxbot/conf

//下载并【填写】配置文件
wget  https://ghproxy.com/https://raw.githubusercontent.com/hxianseng/wxbot/master/src/conf/config.js -P ./wxbot/conf/

//启动容器 
docker run -d \
	-v /root/wxbot/conf:/usr/wxbot/src/conf \
	--name wxbot \
	--net host \
	--restart always \
	hxiansen/wxbot:latest

//更新依赖包
docker exec -it wxbot npm i

//重启容器
docker restart wxbot

//浏览器打开http://IP:端口/api/v1/qrcodeImage微信扫码登陆


使用

  • 请把机器人设置为自动通过好友请求
  • 添加机器人为好友

wxbot's People

Contributors

hxianseng 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.