AI Chatbot Plugin
A simple wordpress plugin that gives you the functionality to build plugin and play ai chatbot with custom script and knowledge
by sohaibahmed2610 · github.com/sohaibahmed2610/ai-chatbot-plugin-for-wordpress · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sohaibahmed2610/ai-chatbot-plugin-for-wordpress/archive/refs/heads/main.zipReadme
AI Chatbot WordPress Plugin
⭐ Love this plugin? Please consider starring the repository to show your support!
Overview
A production-ready WordPress plugin that integrates intelligent, highly customizable floating chatbots powered by OpenAI, Google Gemini, and Anthropic. Deliver instant, automated AI support to your visitors without writing a single line of code.
🔗 Quick Links
📑 Table of Contents
🌟 Features
Core Functionality
- Multi-Provider Support: Seamlessly connect to OpenAI, Google Gemini, or Anthropic.
- Context-Aware Sessions: Maintains conversation history throughout the visitor's active session.
- Zero-Code Configuration: Full management via a native WordPress settings dashboard.
Design & Customization
- Theme Builder: Customize primary, background, and message colors.
- Visual Identity: Upload a custom chat icon directly from the WordPress Media Library.
- Adaptive Positioning: Anchor to the bottom-left or bottom-right with custom offsets.
Security & Performance
- Protected Endpoints: API keys remain securely on the server and are never exposed to the client.
- Abuse Prevention: Built-in IP-based rate limiting on the REST API.
- Lightweight Architecture: Vanilla JavaScript and CSS frontend ensures zero dependency bloat.
💻 Tech Stack
| Category | Technology |
|---|---|
| Backend Framework | WordPress Native (Settings API, REST API, HTTP API), PHP 7.4+ |
| Frontend Styling | Scoped Vanilla CSS with dynamic CSS variables |
| Frontend Logic | Vanilla ES6 JavaScript |
| AI Providers | OpenAI API, Google Gemini API, Anthropic API |
🚀 Getting Started
Prerequisites
- WordPress 5.8 or higher
- PHP 7.4 or higher
- An active API key from OpenAI, Google AI Studio, or Anthropic
Installation
- Download the latest release
.zipfile from the Releases page. - Log in to your WordPress Admin dashboard.
- Navigate to Plugins > Add New > Upload Plugin.
- Select the downloaded
.zipfile and click Install Now. - Click Activate Plugin.
API Configuration
- Navigate to the new AI Chatbot menu in your WordPress sidebar.
- Select your desired AI Provider from the dropdown menu (gemini , open ai , clade).
- Enter your provider's API Key and the specific Model you wish to use (e.g., gpt-4o-mini , gemini 3.1 flash live etc).
- (Optional) Provide custom Instructions to define the chatbot's persona.
- Click Save Changes. The chatbot will now automatically appear on your website!