Update README
This commit is contained in:
24
README.MD
24
README.MD
@@ -9,7 +9,17 @@
|
||||
## Quick Start
|
||||
0. 安装 Python,例如 [3.10.11](https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe)
|
||||
1. 安装微信 `3.7.0.30`,下载地址在 [这里](https://github.com/lich0821/WeChatFerry/releases/download/v3.7.0.30.21/WeChatSetup-3.7.0.30.exe);也可以从 [WeChatSetup](https://gitee.com/lch0821/WeChatSetup) 找到。
|
||||
2. 安装依赖
|
||||
2. 克隆项目
|
||||
```sh
|
||||
git clone https://github.com/lich0821/WeChatRobot.git
|
||||
|
||||
# 如果网络原因打不开,可以科学上网,或者使用gitee
|
||||
git clone https://gitee.com/lch0821/WeChatRobot.git
|
||||
```
|
||||
|
||||
如果觉得克隆复杂,也可以直接下载[最新版](https://github.com/lich0821/WeChatRobot/releases/latest) (打不开试试[这个](https://gitee.com/lch0821/WeChatRobot/releases/latest)) 到本地解压。
|
||||
|
||||
3. 安装依赖
|
||||
```sh
|
||||
# 升级 pip
|
||||
python -m pip install -U pip
|
||||
@@ -17,7 +27,7 @@ python -m pip install -U pip
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
3. 运行
|
||||
4. 运行
|
||||
|
||||
直接运行程序会自动拉起微信:
|
||||
```sh
|
||||
@@ -43,13 +53,9 @@ chatgpt:
|
||||
proxy: # 如果你在国内,你可能需要魔法,大概长这样:http://域名或者IP地址:端口号
|
||||
```
|
||||
|
||||
* 为了暴露 HTTP 接口,需要取消配置中 http 的注释:
|
||||
```yaml
|
||||
# 如果需要暴露 HTTP 接口,取消下面的注释
|
||||
http:
|
||||
host: 0.0.0.0
|
||||
port: 9999
|
||||
```
|
||||
* ~~为了暴露 HTTP 接口,需要取消配置中 http 的注释:~~ 如有需要,推荐使用 [wcfhttp](https://wechatferry.readthedocs.io/zh/latest/?badge=latest)
|
||||
|
||||
[](https://pypi.python.org/pypi/wcfhttp) [](https://pypi.python.org/pypi/wcfhttp) [](https://wechatferry.readthedocs.io/zh/latest/?badge=latest)
|
||||
|
||||
|||
|
||||
|:-:|:-:|
|
||||
|
||||
Reference in New Issue
Block a user