
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
__ __ _ _ ___ _
/ / /\ \ \ ___ (_)__ __(_) _ __ / __\ ___ | |_
\ \/ \/ // _ \| |\ \/ /| || '_ \ /__\// / _ \ | __|
\ /\ /| __/| | > < | || | | |/ \/ \| (_) || |_
\/ \/ \___||_|/_/\_\|_||_| |_|\_____/ \___/ \__|
微信Nodejs版 by feit
npm install weixinbot --save
// Require Nodejs v8+
// index.js
const Weixinbot = require('weixinbot')
// will send qrcode to your email address
const bot = new Weixinbot({ receiver: 'your@email.com' })
// will emit when bot fetch a new qrcodeUrl
bot.on('qrcode', (qrcodeUrl) => {
console.log(qrcodeUrl)
})
bot.on('friend', (msg) => {
console.log(msg.Member.NickName + ': ' + msg.Content)
bot.sendText(msg.FromUserName, 'Got it')
})
bot.run()
# We recommend show debug message under development
DEBUG=weixinbot node index.js
Remember previous login secret, when secret is valid, we can direct login without scan qrcode
The MIT license.
FAQs
Robot for Wechat personal chat
The npm package weixinbot receives a total of 6 weekly downloads. As such, weixinbot popularity was classified as not popular.
We found that weixinbot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.