Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wechaty-puppet-iosbird

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wechaty-puppet-iosbird

Puppet Iosbird for Wechaty

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

WECHATY-PUPPET-IOSBIRD

Powered by Wechaty npm version Codacy Badge

这个模块是通过ios系统中越狱插件作为中转,连接微信和WebSocket Server,实现个人号的微信接口。

这个模块是基于Wechaty 的子模块,专门针对ios 接入的。wechaty 是一个开源的的 个人号 微信机器人接口,是一个使用Typescript 构建的Node.js 应用。支持多种微信接入方案,包括网页,ipad,ios,windows, android 等。同时支持Linux, Windows, Darwin(OSX/Mac)Docker 多个平台。

只需要6行代码,你就可以 通过个人号 搭建一个 微信机器人功能 ,用来自动管理微信消息。

更多功能包括:

  • 消息处理:关键词回复
  • 群管理:自动入群,拉人,踢人
  • 自动处理好友请求
  • 智能对话:通过简单配置,即可加入智能对话系统,完成指定任务
  • ... 请自行开脑洞

详情请看Wechaty项目 NPM Version Docker Pulls TypeScript

安装

npm install wechaty
npm install wechaty-puppet-iosbird

示例代码

import { Wechaty }        from 'wechaty'
import { PuppetIosbird }  from 'wechaty-puppet-iosbird'

const puppet = new PuppetIosbird()

const bot = new Wechaty({
  puppet,
})

// 设置完成

// 运行 wechaty
bot
.on('login',            user => console.log(`User ${user} logined`))
.on('message',       message => console.log(`Message: ${message}`))
.start()

运行时, 需要指定环境变量微信IDBOT_ID

文档

https://docs.chatie.io/wechaty

获取Token

contact

了解更多Token 相关内容

LICENSE

Apache-2.0

Keywords

FAQs

Package last updated on 19 Apr 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc