node package manager

node-wechat-terminal

node-wechat-terminal

NPM

Build Status node version Codacy Badge dependencies devDependencies

Wechat client in terminal

Requirement

  • nodejs (>=4.0.0)

Getting Started

$ npm install -g node-wechat-terminal
$ wechat-terminal

(Login by scanning QRCode)

UserName> \h  # show help message
COMMAND              DESCRIPTION
\h                   Print this help information
\logout              Logout
\user                Display user info
\chat                List chat or select chat target by index
\contact             List contact or select chat target by index
\back                Quit chat
\search              Search in contact
\history             Display history of chat
\room                List room in contact
\member              List member of room

Features

  • List contacts

      Me>\contact
      Contacts:
      #0 Me
      #1 James
      #2 Stephen
      ...
    
  • Search user in contacts

      Me>\search a
      #1 James
      #6 Harden
    
  • Select target to chat by contact index, and send message

      Me>\contact 1
      Me => James>Hi
    
  • Display chat history

      Me => James>\history
      Chat history with James:
      TIME      FROM    TO      MESSAGE
      14:00:00  Me      James   Hi
    
  • Logout

      Me>\logout # or Ctrl-C / Ctrl-D
    

Inspired by

License

MIT