Git Product home page Git Product logo

chatgpt-wechat-bot's Introduction

ChatGPT 微信机器人

基于 ChatGPT API 和 Wechaty,搭建 ChatGPT 微信机器人。

使用

注意事项

本项目使用了 Wechaty 的 UOS 协议,登录的微信可能有封号风险,强烈建议使用微信小号进行测试开发和日常使用。

前置条件

  1. OpenAI 账号,并创建 API Key

  2. Node.js >= 18

本地运行

  1. npm install

  2. cp .env.example .env

  3. .env 文件中,设置 OPENAI_API_KEY。

  4. npm start

  5. 如果是初次登陆,那么需要扫描二维码。

    扫描二维码

  6. 登录成功后,就可以私聊或者在微信群@登录微信号进行互动了。

参考

chatgpt-wechat-bot's People

Contributors

formulahendry avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

chatgpt-wechat-bot'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.