SuperAPIAI Directory

wechat-chatgpt

github.com · AI developer platforms

Use ChatGPT On Wechat via wechaty

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

wechat-chatgpt is an open-source project based on wechaty, used to use ChatGPT in WeChat. This project has been archived.

Main purpose: through wechaty and the official OpenAI API, to enable interaction between WeChat and ChatGPT.

Main capabilities:

  • Chat with ChatGPT in WeChat
  • Support conversation context (continuous conversation)
  • Support command settings
  • Support Dall·E
  • Support Whisper
  • Support setting prompts
  • Support proxy (in development)

Deployment and configuration methods:

  • Provides a Dockerfile, can be deployed using docker
  • Supports deployment using docker compose
  • Supports Railway and Fly.io deployment
  • Supports Node.js deployment (requires NodeJS 18.0.0 or above, and the WeChat account must be able to log in to WeChat Web)

Usage:

  • Railway deployment: provides $5 or 500 hours of runtime per month; click the Railway button to enter the deployment page, fill in the repository name and OPENAI_API_KEY (requires linking a GitHub account), click Deploy, then check the logs and wait for deployment to complete.
  • Fly.io deployment: the app needs to be allocated 512MB of memory; install flyctl (on macOS use brew install flyctl, on Windows use scoop install flyctl, on Linux use curl https://fly.io/install.sh | sh), clone the project and enter the directory, run flyctl launch to create the app, configure environment variables via flyctl secrets set OPENAI_API_KEY="<YOUR OPENAI API KEY>" MODEL="<CHATGPT-MODEL>", and finally deploy with flyctl deploy.
  • Docker and docker compose deployment: you need to obtain an OPENAI API KEY; for specific configuration, refer to the project documentation.
  • Node.js deployment: requires NodeJS 18.0.0 or above, and ensure the WeChat account can log in to WeChat Web.

Custom API: you can use https://github.com/fuergaosi233/openai-proxy to set a custom ChatGPT API.

Limitations:

  • The project has been archived and is no longer maintained or updated.
  • The proxy feature is still in development.
  • Using Node.js deployment requires meeting the version and WeChat Web login conditions.
  • The specific list of environment variables and detailed configuration steps are not yet fully provided in the supplied materials.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools