wechat-chatgpt 地址 https://github/fuergaosi233/wechat-chatgpt
这是一个转发微信收到的消息到openai的chatgpt,然后转发其返回的消息的项目。

  1. poetry

    https://python-poetry/docs/#installing-with-the-official-installer
    用pip install protry -> ok

    使用Poetry时,在 pyproject.toml 文件末尾追加下面的内容来设置自定义镜像源:

    #设置poetry包管理工具的自定义pypi镜像源配置
    [[tool.poetry.source]]
    name = "aliyun"
    url = "http://mirrors.aliyun/pypi/simple"
    default = true
    
  2. wsl

    https://learn.microsoft/zh-cn/windows/wsl/install

    wsl 迁移至非系统盘
    wsl --import [源系统名] [tar地址]
    wsl --export [新系统名] [新系统地址] [tar地址]
    https://juejin/post/7024498662935904269
    https://wwwblogs/oboth-zl/p/12769220.html

  3. docker

    https://docs.docker/engine/install/

  4. docker: Cannot connect to the Docker daemon at
    unix:///var/run/docker.sock. Is the docker daemon running?.
    sudo service docker start

  5. run docker image

docker run -dp 3000:3000 getting-started
6 chatgpt-wechaty
docker restart wechat-chatgpt
docker logs -f wechat-chatgpt
npm run dev

更多推荐

记录部署wechat-chatgpt项目时遇到的点