hubot-wechat2
hubot wechat adapter
Last updated 4 years ago by eatgrass .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-wechat2 
SYNC missed versions from official npm registry.

Hubot Wechat Adapter Build Status

NPM

Quickstart:

Existing install

  1. Install wechat adapter:

     % cd myhubot
     % npm install hubot-wechat2 --save
    
  2. You will need to set configuration variables in your environment for wechat account

    indicate your hubot to use wechat2 as adapter, you can also run bin/hubot -a wechat2

     HUBOT_ADAPTER=wechat2
    

    Below properties are required, you can get these properties by capturing webwxinit request in your browser

     HUBOT_WX_COOKIE
     HUBOT_WX_UIN
     HUBOT_WX_SID
     HUBOT_WX_SKEY
     HUBOT_WX_DEVICE_ID
    
  3. Run your robot with

     % myhubot/bin/hubot -a wechat2
    

Start with PM2

  1. install pm2 npm install pm2 -g

  2. copy the process.json

  3. specify your configuration in your process.json

  4. start with pm2 startOrRestart process.json

Options

Environment Variable Default Description
HUBOT_WX_ACCEPT_FRIEND false Auto accept frient request
HUBOT_WX_IGNORE_GROUP false Ignore message from group

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

2 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 0
Last Month 2
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |