WhatsApp chatbot using Gemini + WaSenderAPI
Top 52.3% on sourcepulse
This project provides an affordable WhatsApp AI chatbot solution, targeting individuals and small businesses looking to integrate AI-powered conversational capabilities into their WhatsApp communication. It leverages Google's Gemini AI and the WaSenderAPI service for cost-effective integration.
How It Works
The solution uses a Python Flask application to receive incoming WhatsApp messages via webhooks from WaSenderAPI. These messages are then processed by Google's Gemini AI to generate intelligent responses. The Flask app handles message routing, AI interaction, and sending replies back through WaSenderAPI. A key advantage is its low cost, utilizing the free tier of Gemini and a low-cost subscription for WhatsApp integration, bypassing expensive official WhatsApp Business API fees.
Quick Start & Requirements
pip3 install -r requirements.txt
.env
file with API keys. Running locally involves python3 script.py
and potentially ngrok
for webhook testing.Highlighted Details
persona.json
.Maintenance & Community
No specific contributors, sponsorships, or community links (Discord/Slack) are mentioned in the README.
Licensing & Compatibility
The README does not explicitly state a license. It is a Python project using Flask and standard libraries. Commercial use is implied by the target audience and cost structure, but the lack of a specified license requires clarification.
Limitations & Caveats
The project relies on a third-party service (WaSenderAPI) for WhatsApp integration, which has its own terms and potential limitations. The free tier of Gemini AI has a request limit of 1500 per month, which may be insufficient for high-volume usage. Production deployment recommendations are basic, suggesting further configuration for robust logging and reverse proxying.
1 month ago
Inactive