WhatsApp bot for AI-powered chat
Top 13.5% on sourcepulse
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
npm install
npm start
Highlighted Details
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.
5 months ago
1 week