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
- Host: GitHub
- URL: https://github.com/huanglizhuo/twchat
- Owner: huanglizhuo
- License: mit
- Created: 2017-11-18T09:47:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T22:35:06.000Z (about 2 years ago)
- Last Synced: 2025-04-14T07:08:12.399Z (6 months ago)
- Topics: terminal-app, terminal-based, twchat, wechat
- Language: Python
- Size: 345 KB
- Stars: 66
- Watchers: 1
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://badge.fury.io/py/TWchat) [](https://travis-ci.org/huanglizhuo/TWchat)
```Text
_____ _ _ _____ _ _ ___ _____
|_ _| | | / __ \| | | | / _ \_ _|
| | | | | | / \/| |_| |/ /_\ \| |
| | | |/\| | | | _ || _ || |
| | \ /\ / \__/\| | | || | | || |
\_/ \/ \/ \____/\_| |_/\_| |_/\_/
```命令行下的微信客户端

目前在 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