-
Notifications
You must be signed in to change notification settings - Fork 11
PuppetIoscat usage
linyimin edited this page Aug 27, 2018
·
3 revisions
PuppetIoscat支持IOS版本有:
- IOS 8.0
- IOS 9.0
- IOS 10.0(可能没法完美越狱)
-
越狱
-
使用手机连接电脑,并打开爱思助手
-
选择刷机越狱
-
选择相关版本越狱
之后根据提示完成越狱操作。
-
使用越狱后安装的Cydia安装新版的设备精灵,并查看设备ID
-
-
设备精灵
获取KUDID,并将KUDID通过微信发送给我们,我们会将您的手机注册到我们的后台,完成相关绑定.最后给您返回一个token,作为登录使用.
install wechaty and wechaty-puppet-ioscat packages
$ npm i [email protected] wechaty-puppet-ioscat --save
import { Wechaty } from 'wechaty'
const puppet = new PuppetIoscat({
token: '**********'
})
const wechaty = new Wechaty({ puppet })
wechaty
.on('login', (user) => console.log(`login: ${user}`))
.on('message', (message) => console.log(`message: ${message}`))
.start()
token为我们给您返回的一个微信ID, 作为身份的识别.也可以在启动的时候使用WECHATY_PUPPET_IOSCAT_TOKEN
作为环境变量传入.
- Docker: For we need to generate code based on the swagger yaml file
$ git clone https://github.com/linyimin-bupt/wechaty-puppet-ioscat.git
$ cd wechaty-puppet-ioscat
$ npm run generate
After that, everything will be ok. And you can contribute your code.
- Wechaty A Bot SDK for Wechat Personal Account,by Huan LI
- Puppet Abstract(Base) Class of Wechaty Puppet Framework, by Huan LI
- PuppetWechat4u Web API via HTTP, by Huan LI
- PuppetPuppeteer Web API via Browser, by Huan LI
- PuppetPadchat iPad API via Protocol Server, by Rui LI
- PuppetHostie gRPC Proxy via Chatie.io(PaaS - Puppets as a Service), by Huan LI
- Puppet-mock Puppet Mocker & Starter for Wechaty,by Huan LI