项目作者: wechaty

项目描述 :
Terminal Client for Wechaty
高级语言: TypeScript
项目地址: git://github.com/wechaty/cli.git
创建时间: 2021-06-19T12:13:22Z
项目社区:https://github.com/wechaty/cli

开源协议:Apache License 2.0

下载


wechaty-cli

NPM
NPM Version
npm (tag)
TypeScript
ES Modules

wechaty-cli

Terminal Command Line Client (CLI) for Wechaty

Usage

Install from NPM

  1. npm install wechaty-cli

Show version:

  1. $ wechaty-cli --version
  2. 0.2.1

Start CLI

  1. wechaty-cli

Install from source

  1. git clone https://github.com/wechaty/cli.git wechaty-cli
  2. cd wechaty-cli
  3. npm start

Build from Dockerfile

  1. git clone https://github.com/wechaty/cli.git wechaty-cli
  2. cd wechaty-cli
  3. docker build -t wechaty-cli . # this command needs only to be executed once
  4. docker run --rm -it wechaty-cli # use this command to run wechaty-cli at any time!

Different IM support

The Wechaty community builds separate RPA modules called Wechaty Puppet for different instant messaging (IM) systems (such as WeChat and Whatsapp). wechaty-puppet-wechat is used by default and you can specify wechaty puppet by using the following command to chat on different IM system.

  1. npm install wechaty-puppet-NAME
  2. export WECHATY_PUPPET=wechaty-puppet-NAME
  3. # some puppet requires a token to be set

Debug in VS Code

Debugging with configuration “Launch via NPM”, the app will run immediately in the integrated terminal.

To test the app in external terminal, run npm run debug then start debugging with configuration “Attach”.

Resources

Wechaty

Similar Projects

History

master v0.2 (Sep 12, 2021)

  1. ESM support

v0.0.1 (Jul 3, 2021)

Init.

Creators

  • Code & Docs © 2021 Wechaty Contributors https://github.com/wechaty
  • Code released under the Apache-2.0 License
  • Docs released under Creative