Coder Social home page Coder Social logo

wechaty-chatgpt's Introduction

ChatGPT & Wechaty

本项目仅提供学习用途,如有任何问题,需要自行承担风险。

基于 Wechaty & ChatGPT API 开发的微信聊天机器人。

必读内容

请注意保护微信账号

  1. 国内直接调用接口,可能被 OpenAI 封号。
  2. 频发登录会报 1209 错误,等会就会恢复
  3. 频繁发送图片会报 1205 错误,等会就会恢复
  4. 新微信号加人频繁会被关小黑屋

如何使用?

设置环境变量

点击 这里 获取你的 API KEY。

# 1. 创建环境配置文件
$ cp .env.example .env

# 2. 修改为你的 API 密钥
CHATGPT_API_KEY="sk-xxx"

国内使用 ChatGPT,请用代理访问 OpenAI Proxy

启动项目

# 安装依赖
$ pnpm install

# 启动项目
$ pnpm start

加群体验

加群体验一起急眼一起急眼

支持的 NodeJS 版本

目前本地测试的版本

  • 16.19.1
  • 18.12.1

推荐使用 nvmfnm 管理 Node.js 版本。

感谢

以下排名不分先后。

License

MIT

wechaty-chatgpt's People

Contributors

zhengxs2018 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wechaty-chatgpt's Issues

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.