GithubHelp home page GithubHelp logo

awesome-archive / wechat-chatgpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fuergaosi233/wechat-chatgpt

0.0 1.0 0.0 131 KB

Use ChatGPT On Wechat via wechaty

Python 10.72% TypeScript 89.28%

wechat-chatgpt's Introduction

Welcome to wechat-chatgpt ๐Ÿ‘‹

Version License: ISC Twitter: fuergaosi

Use ChatGPT On Wechat via wechaty

๐Ÿ  Homepage

๐ŸŒŸ Feature

  • Use ChatGPT On Wechat via wechaty
  • Support OpenAI Accounts Pool
  • Support use proxy to login
  • Simulated at message receive
  • Add conversions Support
  • Add Dockerfile
  • Add Railray deploy
  • Auto Reload OpenAI Accounts Pool

Install

npm install && poetry install

Usage

Copy config

You need copy config file for setting up your project.

cp config.yaml.example config.yaml

Get and config Openai account

If you don't have this OpenAI account and you live in China, you can get it here.

A๏ผšUse account and password

You need get OpenAI account and password. Your config.yaml should be like this:

chatGPTAccountPool:
  - email: <your email>
    password: <your password>

โš ๏ธ Pls make sure your network can log in to OpenAI, and if you fail to login in try setting up a proxy or using SessionToken.
Setup proxy:

export http_proxy=<Your Proxy>

B: Use Session Token

If you cant use email and password to login your openai account or your network can't login, you can use session token. You need to follow these steps:

  1. Go to https://chat.openai.com/chat and log in or sign up.
  2. Open dev tools.
  3. Open Application > Cookies. image
  4. Copy the value for __Secure-next-auth.session-token and save it to your config Your config.yaml should be like this:
chatGPTAccountPool:
  - session_token: <your session_token>

Start Project

npm run dev

If you are logging in for the first time, then you need to scan the qrcode.

Author

๐Ÿ‘ค holegots

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a โญ๏ธ if this project helped you!

wechat-chatgpt's People

Contributors

fuergaosi233 avatar aeroxi avatar

Watchers

 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.