Giter VIP home page Giter VIP logo

qcg-installer's Introduction

Installer for QChatGPT

QChatGPT项目使用Go语言编写的一键部署脚本,自动化部署所需依赖

  • 注意:下载的Python和mirai均为免安装版,不影响系统其他环境

使用方法

  • 部署过程中遇到任何问题,请先在QChatGPTqcg-installer的issue里进行搜索,若找不到请前往:交流、答疑群: 204785790
    • 进群提问前请您确保已经找遍文档和issue均无法解决
    • 进群提问前请您确保已经找遍文档和issue均无法解决
    • 进群提问前请您确保已经找遍文档和issue均无法解决

1. 注册OpenAI账号

参考以下文章

只需 1 元搞定 ChatGPT 注册
手把手教你如何注册ChatGPT,超级详细

注册成功后请前往个人中心查看api_key

2. 安装器

  • Release页面下载可执行文件,若无法访问请到Gitee
  • 保存到电脑上某个空目录,直接运行,等待配置环境
  • 完毕后根据提示输入api-keyQQ号
  • 到此安装完成

常见问题

📵网络状况不好,下载失败?

解决方法:

  • 若您有网络代理可用于提速,可在启动安装器时提供参数-p <代理地址>,如:
qcg-installer-0.1-windows-x64.exe -p http://localhost:7890

3. 运行程序

之后每次重启之后均需要按照以下步骤启动程序

i. 启动mirai

  • 运行run-mirai.bat(Windows) 或./run-mirai.sh(Linux) 启动mirai
  • 并输入login <QQ号> <QQ密码>根据提示登录账号(登录教程)

ii. 运行主程序

  • 登录完成后运行run-bot.bat(Windows) 或 ./run-bot.sh(Linux) 启动主程序

常见问题

  • mirai登录提示QQ版本过低,见此issue
  • 运行run-bot.bat闪退请见此解决方案
  • 若启动后提示安装uvicornhypercorn,请不要安装,会导致不明原因bug

目前支持的平台和架构

  • Windows x64
  • CentOS x64
    • 以及其他使用yum作为包管理器的操作系统
  • Ubuntu x64
    • 以及其他使用apt作为包管理器的操作系统
  • Raspbian arm64

qcg-installer's People

Contributors

rockchinq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.