wechat-chatgpt  by shfshanyue

Deprecated WeChat bot for ChatGPT/Midjourney

created 2 years ago
535 stars

Top 60.1% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a WeChat (and Enterprise WeChat) bot powered by ChatGPT and Midjourney, designed for individual users and small teams. It aims to automate AI-driven interactions within WeChat, offering features like custom persona prompts, group chat management, and image generation.

How It Works

The bot leverages the WeChaty framework for WeChat interaction and integrates with OpenAI's API for ChatGPT and a simulated request method for Midjourney. It supports load balancing across multiple OpenAI API keys for stability and includes features like continuous conversation context, keyword triggers, and automatic retries for robustness.

Quick Start & Requirements

  • Install: pnpm start (after setting up environment variables and dependencies).
  • Prerequisites: Node.js >= 18, non-ARM server architecture, Redis, and WeChaty puppet configuration (e.g., wechaty-puppet-wechat for personal WeChat, wechaty-puppet-service for Enterprise WeChat).
  • Setup: Requires configuring API keys, model preferences, and bot behavior via .env and config.ts. Deployment via Docker is recommended.
  • Links: Project GitHub

Highlighted Details

  • Supports custom prompts to define bot personas (e.g., translator, interviewer).
  • Integrates Midjourney image generation via simulated requests.
  • Offers control over bot activation in specific private chats and group chats using regular expressions.
  • Implements a credit system for usage limits, with options for paid unlocks.

Maintenance & Community

The project is marked as @deprecated and no longer maintained.

Licensing & Compatibility

The project does not explicitly state a license in the provided README. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project is deprecated and no longer maintained. The Midjourney integration relies on simulated requests, making it susceptible to anti-scraping measures and potential account bans. The README also notes that ChatGPT and Midjourney services may be inaccessible in mainland China without a proxy.

Health Check
Last commit

1 year ago

Responsiveness

1 day

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

Explore Similar Projects

Feedback? Help us improve.