Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
wechaty-puppet-padchat
Advanced tools
这个模块是是通过WebSocket 连接一个协议服务器来控制iPad 微信,实现个人号的微信接口。
这个模块是基于Wechaty 的子模块,专门针对ipad 接入的。wechaty 是一个开源的的 个人号 微信机器人接口,是一个使用Typescript 构建的Node.js 应用。支持多种微信接入方案,包括网页,ipad,ios,windows, android 等。同时支持Linux, Windows, Darwin(OSX/Mac) 和 Docker 多个平台。
只需要6行代码,你就可以 通过个人号 搭建一个 微信机器人功能 ,用来自动管理微信消息。
更多功能包括:
详情请看Wechaty项目
npm install wechaty
npm install wechaty-puppet-padchat
import { Wechaty } from 'wechaty'
const WECHATY_PUPPET_PADCHAT_TOKEN = 'your-token-here'
const puppet = 'wechaty-puppet-padchat' // 使用ipad 的方式接入。
const puppetOptions = {
token: WECHATY_PUPPET_PADCHAT_TOKEN,
}
const bot = new Wechaty({
puppet,
puppetOptions,
})
// 设置完成
// 运行 wechaty
bot
.on('scan', (qrcode, status) => console.log(`Scan QR Code to login: ${status}\nhttps://api.qrserver.com/v1/create-qr-code/?data=${encodeURIComponent(qrcode)}`))
.on('login', user => console.log(`User ${user} logined`))
.on('message', message => console.log(`Message: ${message}`))
.start()
./node_modules/.bin/ts-node examples/wechaty-padchat-bot.ts
Jiarui LI rui@chatie.io
Apache-2.0
FAQs
Padchat Puppet for Wechaty
The npm package wechaty-puppet-padchat receives a total of 103 weekly downloads. As such, wechaty-puppet-padchat popularity was classified as not popular.
We found that wechaty-puppet-padchat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.