A modern, fully customizable AI chatbot widget for WordPress, built as a single HTML file. This chatbot supports LLMs via OpenRouter.ai, and is designed to be easy to use, embed, and configure within any WordPress site using the Code Snippets plugin or theme editor.
| Theme | Preview |
|---|---|
| Green | Green Chatbot UI ![]() |
| Blue | Blue Chatbot UI ![]() |
| Purple | modren purple Chatbot UI ![]() |
A fully customizable AI chatbot widget for WordPress, powered by OpenRouter LLMs. Easy to install using HTML snippets — includes blue and green UI and more themes.
- 🧠 Powered by any OpenRouter-compatible LLM
- 🪄 Built-in system prompt customization
- 🔄 Memory for conversation ( Ai can remember user replies)
- 📱 improved mobile responsive
- 🎨 Two color themes: Blue and Green
- 📄 Supports file/image uploads
- 💡 Zero JavaScript conflicts (WordPress-safe)
- 🧩 Easily embeddable with a single HTML snippet
- Install the Code Snippets plugin** (or use your theme's custom HTML block).
- Open the chatbot
.htmlfile** (either green or blue version) in VS Code or any editor. - Copy the entire code and paste it into a new HTML snippet in WordPress.
- Save and activate the snippet.
- costomize the system prompt to fit your wnat
In the HTML file, locate the WP_CHATBOT_CONFIG section inside the JavaScript code:
const WP_CHATBOT_CONFIG = {
OPENROUTER_API_KEY: "YOUR_OPENROUTER_KEY_HERE", // 🔑 Replace this
MODEL_NAME: "google/gemma-3-27b-it:free", // ✅ Use any supported OpenRouter model
SYSTEM_PROMPT: `Customize your assistant's tone, knowledge, and personality here.`,
}- This project is open-source under the MIT License.
-
Feel free to open issues, suggest features, or submit pull requests. Let’s build smarter web experiences together!
...


