装前必知
默认您已经精通python,git,github,linux,windows, 代理工具(如clash) 等包括不限于此的常用工具的使用。
早柚核心-概念理解
- 早柚核心(以下简称GsCore)基于早柚协议快速适配多种bot。
- GsCore 不能独立使用,需要作为上游Bot (NoneBot2 / Koishi / YunzaiBot) 的插件使用
- NoneBot2
- koishi
- Yunzai-Bot
- 可参考GsCore文档 -> 适配Bot列表
- GsCore 的插件
代理问题(以 clash 为例)
- 可以开启 clash 的 tun 模式
- (推荐) 可以设置 clash 为 git的 全局代理
git config --global http.proxy http://127.0.0.1:7890
- 可以设置终端的 代理
- 在 powershell 终端输入
$Env:http_proxy="http://127.0.0.1:7890";$Env:https_proxy="http://127.0.0.1:7890"
- 在 cmd 终端输入
set http_proxy=http://127.0.0.1:7890 & set https_proxy=http://127.0.0.1:7890
- 在 powershell 终端输入
- linux安装clash文档