An open API service indexing awesome lists of open source software.

https://github.com/huanglizhuo/twchat

An Geek style terminal based WeChat client
https://github.com/huanglizhuo/twchat

terminal-app terminal-based twchat wechat

Last synced: 6 months ago
JSON representation

An Geek style terminal based WeChat client

Awesome Lists containing this project

README

          

[![PyPI version](https://badge.fury.io/py/TWchat.svg)](https://badge.fury.io/py/TWchat) [![Build Status](https://travis-ci.org/huanglizhuo/TWchat.svg?branch=master)](https://travis-ci.org/huanglizhuo/TWchat)

```Text
_____ _ _ _____ _ _ ___ _____
|_ _| | | / __ \| | | | / _ \_ _|
| | | | | | / \/| |_| |/ /_\ \| |
| | | |/\| | | | _ || _ || |
| | \ /\ / \__/\| | | || | | || |
\_/ \/ \/ \____/\_| |_/\_| |_/\_/
```

命令行下的微信客户端

![demo](./TWchat/demo.gif "demo")

目前在 macOS 上进行开发

理论上讲所有 Unix-like 均可用 (如有问题请提issue)

暂时只支持py2
py3暂不支持

## how to install

```
pip install TWchat -U
```

install mpg123

### macOS

```
brew install mpg123
```

## how to use

```
twchat
```

命令行会出现二维码,扫码登录

```
ALT+q exit twchat
```

语音消息需要安装mpg123

支持图片 语音消息 该类型消息默认会存储到 HOME 目录的 .twchat

### Todo

- [ ] 添加未读消息提示
- [ ] 添加主题配置
- [ ] 支持联系人搜索
- [ ] 兼容py2 py3
- [x] 支持图片语音消息
- [x] 完成基本文字聊天

[urwid](https://github.com/urwid/urwid) (Console user interface library for Python) 绘制界面

[itchat](https://github.com/littlecodersh/ItChat) (A complete and graceful API for Wechat) 访问微信网页版API