A modern, minimal chatbot widget designed for stores, inspired by WhatsApp-style UX. Built with vanilla JavaScript, easy to integrate, lightweight, and fully customizable.
✅ Floating chat button
✅ Modern minimal UI (blue + gray tones)
✅ Typing indicator (bot is “thinking”)
✅ Send message with Enter key
✅ Quick reply buttons (Price / Format / Buy)
✅ Auto greeting message
✅ Responsive & mobile-friendly
✅ Easy backend integration (API-based)
A clean floating chat widget with rounded bubbles, quick actions, and smooth UX. (Screenshot included in the repository)
JavaScript (Vanilla)
HTML (DOM injection)
CSS (inline + optional external CSS)
Backend: Any REST API (Node.js, FastAPI, Flask, etc.)
chatbot-website/
│
├── chatbot.js # Main chatbot logic
├── chatbot.css # (Optional) Custom styles
├── README.md
└── screenshot.pngUpload chatbot.js to your website theme assets or paste it directly into theme.liquid.
Inside chatbot.js, change:
const BACKEND_URL = "https://your-backend-url/chat";The chat button will appear in the bottom-right corner.
The chatbot expects a POST request like this:
{
"message": "price"
}{
"reply": "The Digital Planner 2026 costs $12. Instant download."
}Product FAQ assistant
Digital product sales chatbot
Customer support automation
Lead qualification
AI-powered store assistant
You can easily customize:
🎨 Colors (blue, gray, dark mode)
🧩 Quick reply buttons
🧠 Bot responses (via backend)
🛒 Buy Now links
🌍 Language (EN / FR / AR)
No user data stored on frontend
API-based communication
Dark mode
Chat history memory
Product cards
Analytics dashboard
Pull requests are welcome. Feel free to open an issue for suggestions or improvements.
Eng. Khadija Bouadi
For any queries, reach out to:
GitHub: @khadibd
Email: [email protected]