Giter Site home page Giter Site logo

docker-wechatbot-webhook's Introduction

docker-wechatbot-webhook

基于 wechatyExpress 开发

在微信和webhook机器人之间架一座桥梁,从此微信里也可以有自己的webhook机器人了,快用它集成到自己的自动化工作流中( 推荐 n8n)吧

Docker Image Version (latest semver) GitHub Workflow Status (with event) Docker Pulls

view this project on docker hub :)

一、开始

1. 本地调试

npm start

2. docker 启动

拉取镜像

docker pull dannicool/docker-wechatbot-webhook

启动容器(后台常驻)

 docker run -d \
--name wcRoomBot \
-p 3001:3001 \
dannicool/docker-wechatbot-webhook

登录wx

docker logs -f wcRoomBot

找到二维码登录地址,图下 url 部分,浏览器访问,扫码登录wx

二、给机器人推送消息

目前只支持 文字图片,消息不支持图文自动拆分,请手动调多次

webhook格式

Body 参数说明

参数 说明 数据类型 默认值 可否为空 可选值 备注
to 会话名 String N 发群消息填群名,发给个人填昵称
isRoom 是否发的群消息 Boolean false Y
  • true
  • false
type 发送消息类型 String N
  • text
  • img
content 发送的消息 String N 如果希望发多张图,type 指定为 img 同时,content 里填 url 以英文逗号分隔

三、更新日志

更新内容参见 CHANGELOG

docker-wechatbot-webhook's People

Contributors

danni-cool 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.