Wa-OpenAI  by Sansekai

WhatsApp bot for OpenAI ChatGPT

created 2 years ago
503 stars

Top 62.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a WhatsApp bot integrated with OpenAI's ChatGPT and DALL-E models, enabling users to generate text and images directly within WhatsApp conversations. It targets individuals seeking to leverage AI capabilities through a familiar messaging interface.

How It Works

The bot utilizes the Baileys library for WhatsApp communication and Node.js for its backend. Users interact with the bot via specific commands (/ai for ChatGPT, /img for DALL-E). The bot processes these commands, sends requests to the OpenAI API with the provided text prompt, and returns the generated text or image URL to the WhatsApp chat.

Quick Start & Requirements

  • Install: npm install
  • Run: node index.js
  • Requirements: Node.js v20 or higher, Git, OpenAI API Key.

Highlighted Details

  • Supports both ChatGPT (text generation) and DALL-E (text-to-image) functionalities.
  • Command-driven interface within WhatsApp.

Maintenance & Community

No specific community channels or maintenance details are provided in the README.

Licensing & Compatibility

  • License: MIT License
  • Compatibility: Permissive for commercial use and integration with closed-source applications.

Limitations & Caveats

The project requires an OpenAI API key, and setup involves cloning a repository and installing Node.js dependencies. No information on error handling or scalability is present.

Health Check
Last commit

4 months ago

Responsiveness

1 day

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

Explore Similar Projects

Feedback? Help us improve.