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 - tans/push-bot: 实现推送消息到微信个人和群

BranchesTags
Open more actions menu

Latest commit

 

History

37 Commits
37 Commits

Folders and files

NameName
Last commit message
Last commit date
demo
demo
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
bot.js
bot.js
 
 
package.json
package.json
 
 

Repository files navigation

push-bot

推送精灵 - 微信推送机器人

关注机器人即可获得推送 API 地址

重要更新:切换至wechat4u,免token可运行 有bug

特点

  • 支持推送到个人微信和群
  • 代码少,单文件实现
  • 请求限制, 防止机器人账号被封,也避免消息骚扰
  • 自动通过好友,自动生成接口地址

安装运行

  1. 安装依赖 npm install

  2. 配置参数,编辑 WECHATY_TOEKN cp .env.example .env

  3. 运行 node bot.js

发送到个人接口

该接口通过关注机器人获得(主动私聊发送 webhook 或者 推送地址 可获得)

GET /send/:token?msg=xxx

POST /send/:token

{
    "msg": {
        "type": "image",
        "url": "https://example.com/1.png" // 图片 url 仅支持 https
    }
}

发送到群接口

邀请机器人入群即可获得推送接口地址


GET /room/:token?msg=xxx

demo

更多

开发者微信 tianshe00

About

实现推送消息到微信个人和群

Topics

botpush-notificationspusherwechaty

Resources

Readme
Activity

Stars

374 stars

Watchers

2 watching

Forks

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