whatsapp-chatgpt  by askrella

WhatsApp bot for AI-powered chat

created 2 years ago
3,668 stars

Top 13.5% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a WhatsApp bot that integrates OpenAI's ChatGPT and DALL-E 2, enabling users to interact with AI via text and voice messages. It's designed for individuals seeking a conversational AI experience directly within WhatsApp, offering text generation and image creation capabilities.

How It Works

The bot leverages the chatgpt-api library for text generation and puppeteer with whatsapp-web.js to interact with WhatsApp Web. Voice messages are transcribed using a speech-to-text API. This approach aims to provide a robust integration by simulating a real user session on WhatsApp Web, though it carries a risk of account blocking.

Quick Start & Requirements

Highlighted Details

  • Integrates ChatGPT for text and DALL-E 2 for image generation.
  • Supports voice message input via speech-to-text transcription.
  • Utilizes Puppeteer to interact with WhatsApp Web, aiming to avoid direct API bans.

Maintenance & Community

The project lists dependencies on chatgpt-api, whatsapp-web.js, and askrella/speech-rest-api. No specific contributor or community links are provided in the README.

Licensing & Compatibility

The README does not explicitly state a license. Usage is subject to OpenAI's API terms and WhatsApp's platform policies.

Limitations & Caveats

The project explicitly warns that using this method to interact with WhatsApp may lead to account blocking, as WhatsApp prohibits unofficial clients and bots. The effectiveness and safety of the Puppeteer-based approach are not guaranteed.

Health Check
Last commit

5 months ago

Responsiveness

1 week

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

Explore Similar Projects

Feedback? Help us improve.