Code Monkey home page Code Monkey logo

cmd-wechat-terminal's Introduction

cmd-wechat-terminal

WeChat running on the command line, can send and receive messages, based on itchat

可运行在命令行的微信,能够发送和接收消息,基于ItChat开发

Features

  • Log in WeChat in Terminal by scan QR code
  • Show WeChat friends list
  • Show WeChat recent contacts list
  • Receive WeChat messages and show in command line
  • Send messages to WeChat friends by the specified name / num

How To Run

# clone this repository
git clone [email protected]:oneatletico/cmd-wechat-terminal.git
# enter this repository
cd cmd-wechat-terminal
# install dependencies
pip install itchat
# run wechat.py directly
./wechat.py

How To Use

all                         # List all WeChat friends of this account
list                        # List all WeChat friends of this account
recent                      # List the last 5 WeChat contacts of this accound
help                        # Show this help guide
exit                        # Log out
send <message>              # Send a message to the last TO (you send msg to)
reply <message>             # Send a message to the last FROM (you receive msg from)
send <message> | <name>     # Send a message to a friend specified by name
send <message> || <num>     # Send a message to a friend specified by num
send @fil@<filename>        # Send a file (@img@ for image, @vid@ for video)

Demo

Login successfully as Lucas Zhang
Loading wechat friends list

[13:55:17] Leo ->  : Hi
> recent
1. Leo
> send Hello || 1
[13:55:43]  -> Leo : Hello
> send @fil@/home/aaa/a.txt | filehelper
[13:55:44]  -> filehelper : /home/aaa/a.txt

cmd-wechat-terminal's People

Contributors

franknova avatar oneatletico avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.