From 14a8d6e795b715855da997694a33825d3d72ae7e Mon Sep 17 00:00:00 2001
From: justundertaker <806792561@qq.com>
Date: Mon, 10 Oct 2022 11:11:40 +0800
Subject: [PATCH] =?UTF-8?q?:pencil:=E6=9B=B4=E6=96=B0readme?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 46 +++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 43 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index d9658e4..10a17b5 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,44 @@
-# ntchat-client
-ntchat封装无头客户端
+
NtChat-Client
+
+
+
+
+
+
+## 介绍
+
+- ntchat的封装无头客户端,配合 [ntchat-adapter](https://github.com/JustUndertaker/adapter-ntchat) 实现和Nonebot2通信
+- 微信pc hook,需求在windows端或者wine环境
+
+## 上游依赖
+
+- [ntchat](https://github.com/smallevilbeast/ntchat):基于pc微信的api接口, 类似itchat项目
+
+## 支持的微信版本
+
+- [WeChat3.6.0.18](https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.6.0.18/WeChatSetup-3.6.0.18.exe):安装后请更改配置,修改host等操作关闭自动更新。
+
+## 配置项
+
+.env文件是项目配置文件
+
+```dotenv
+# 是否注入已开启进程
+smart = True
+
+# ws主动连接地址
+ws_address = "ws://127.0.0.1:8080/ntchat/ws"
+
+# access_token密钥
+access_token = ""
+
+# 日志显示等级
+log_level = "DEBUG"
+
+# 事件过滤列表,列表填tpye的数字
+msg_filter = []
+
+# 是否上报自身消息
+report_self = False
+```
-配合 ntchat-adapter 实现和nb2通信