A Hatsune Miku-themed WhatsApp AI chatbot β powered by Groq, Baileys, and Supabase Edge Functions.
- π€ AI Chat β Powered by Groq (Llama 4 Scout by default)
- π€ Voice-to-Text β Transcribes voice messages via Groq Whisper
- π§ Chat History β Per-user conversation memory via Supabase
- π« Rate Limiting & Blocking β Managed through Edge Functions
- π Web Dashboard β Manage settings via browser
- π Pairing Code Auth β No QR scan needed, just a phone number
| Component | Technology |
|---|---|
@whiskeysockets/baileys |
|
| Web Server | express |
| AI Backend | Groq API |
| Database | Supabase Edge Functions |
| STT | Groq Whisper |
git clone https://github.com/M5Develop/MikuBot-WhatsApp.git
cd MikuBot-WhatsAppnpm installcp .env.example .envFill in your keys in .env.
npm startDashboard available at http://localhost:3000
| Variable | Required | Description |
|---|---|---|
GROQ_API_KEY |
β | Groq API key β free at console.groq.com |
SUPABASE_URL |
β | Your Supabase project URL |
- Open the dashboard at
http://localhost:3000 - Enter your WhatsApp phone number
- Get the pairing code and enter it in WhatsApp β Linked Devices
MikuBot-WhatsApp/
βββ index.js # Entry point β DB β Bot β Server boot sequence
βββ bot.js # Baileys socket, message handler, STT
βββ ai.js # Groq chat + Whisper transcription
βββ db.js # Supabase Edge Functions client
βββ routes.js # Express dashboard API routes
βββ .env.example
βββ package.json
MIT β free to use, modify, and build on.
Made with π by M5Develop | HuggingFace