ChatGPT-on-WeChat  by kx-Huang

WeChat bot for ChatGPT, deployed in two steps

created 2 years ago
878 stars

Top 41.9% on sourcepulse

GitHubView on GitHub
Project Summary

This project enables users to deploy a ChatGPT-powered chatbot within their WeChat application, leveraging OpenAI's GPT-4o and GPT-3.5 Turbo models. It targets individuals seeking to integrate advanced AI conversational capabilities into their personal messaging, offering a robust and persistent cloud deployment solution.

How It Works

The bot utilizes the Wechaty SDK for WeChat integration and the OpenAI API for AI model interaction. It establishes a stable connection to various AI models, allowing for customizable triggers and responses. Deployment is facilitated through Docker, with options for local setup or cloud platforms like Railway and Alibaba Cloud ComputeNest, ensuring rapid and persistent operation.

Quick Start & Requirements

  • Install/Run: docker build -t chatgpt-on-wechat . and docker run -v $(pwd)/config.yaml:/app/config.yaml chatgpt-on-wechat or docker-compose up -d.
  • Prerequisites: Docker, OpenAI API Key, WeChat account.
  • Setup: Local deployment via Docker is straightforward. Cloud deployment on Railway or Alibaba Cloud ComputeNest involves platform-specific configuration.
  • Docs: Deployment Guide (domestic site), Deployment Guide (internationl site)

Highlighted Details

  • Supports GPT-4o, GPT-3.5 Turbo, and other OpenAI models.
  • Configurable trigger keywords for private and group chats.
  • Customizable error messages and model parameters (e.g., temperature).
  • Extensible with custom task handlers.

Maintenance & Community

The project has seen contributions from multiple users, indicated by merged pull requests and issue fixes. Further enhancements are planned, including chat context management and integration with LangChain, DALL-E, and Whisper.

Licensing & Compatibility

The repository does not explicitly state a license in the provided README. Users should verify licensing for commercial use or integration into closed-source projects.

Limitations & Caveats

The project relies on the Wechaty SDK, which may be subject to WeChat's terms of service and potential API changes. Specific error logs are provided for troubleshooting login or self-chat issues.

Health Check
Last commit

8 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
13 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.