Skip to content

Integrasikan Bot WhatsApp dengan API Gemini. Proyek ini adalah bot WhatsApp sederhana yang dapat berinteraksi dengan API Gemini. Proyek ini dibangun menggunakan perpustakaan Node.js dan wiskisockets/baileys.

Notifications You must be signed in to change notification settings

JawaTengahXploit1337/Whatsapp-Bot-Gemini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp Bot Gemini

📖 Description

Integrate WhatsApp Bot with Gemini API. This project is a simple WhatsApp bot that can interact with the Gemini API. This project is built using Node.js and whiskeysockets/baileys library.

😄 Actually this is not a meaningful project, it's just that I was bored and wanted to make a bot on whatsapp. So, I made this project.

🛠️ Requirements

  • Node.js v18+

🚀 How to Install

  1. Create API Key on aistudio Free
  2. Clone this repository
     git clone https://github.com/JawaTengahXploit1337/Whatsapp-Bot-Gemini.git
  3. Go to the project directory and install the dependencies
     cd Whatsapp-Bot-Gemini
     npm install
  4. Copy .env.example to .env and paste your API Key to GEMINI_API_KEY
     cp .env.example .env
     GEMINI_API_KEY = "YOUR_API_KEY"
  5. Run the project
     npm start
  6. Open your browser and go to http://localhost:8000/scan to scan the QR Code with your WhatsApp app (this device will integrate with the bot)
  7. After scanning the QR Code, your whatsapp bot is ready to use
  1. Send a message to your WhatsApp bot with a message that includes /bot to the WhatsApp that has been scanned previously with the QR Code, for example:
     hello /bot, how are you?
  2. Wait a moment, the bot will reply to your message.
  3. Enjoy!

👨 About Creator

linkedin instagram github

About

Integrasikan Bot WhatsApp dengan API Gemini. Proyek ini adalah bot WhatsApp sederhana yang dapat berinteraksi dengan API Gemini. Proyek ini dibangun menggunakan perpustakaan Node.js dan wiskisockets/baileys.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published