NSW AI Chat Widget adds an AI-powered chat widget to your WordPress site, powered by the AI provider of your choice — you pick the provider and the model, and you use your own API key.
Features
- Six AI providers: Anthropic (Claude), OpenAI (ChatGPT), Google (Gemini), DeepSeek, xAI (Grok) and Mistral. Pick the provider and the exact model from the settings — no code changes needed when new models are released.
- System prompt and FAQ editor: define the bot's behavior, personality, knowledge and official answers.
- Deep appearance customization: every element of the widget (bubble, header, header buttons, window, message bubbles) has its own collapsible settings section — colors with alpha channel, borders, radius, per-side padding, size, position and responsive breakpoints, Elementor-style.
- Live preview: see the closed bubble and the open chat update in real time while you edit, before saving.
- Automatic contrast: text on top of your brand color switches between black and white automatically so it always stays readable.
- Conversation history: every conversation is stored with the source page and automatically detected contact details (email, phone), and can be reviewed in a chat-style admin view.
- Open the chat from any element by adding the
nswchat-chat-toggle CSS class (e.g. an Elementor button).
- Security: API keys stored encrypted (AES-256-CBC), nonce-protected AJAX, full input sanitization, per-IP rate limiting, an optional site-wide daily message limit, server-side message length caps, and XSS-safe message rendering.
- Accessible: ARIA labels, keyboard support (Escape closes the chat), focus management.
- Translation-ready: English base; community translations via translate.wordpress.org.
1.0.0
First public release on the
WordPress.org Plugin Directory.
0.9.0
Pre-release: feature-complete ahead of the
WordPress.org directory submission.
- Six AI providers — Anthropic (Claude), OpenAI (ChatGPT), Google (Gemini), DeepSeek, xAI (Grok) and Mistral — each with its own encrypted API key and free-text model setting, so new models can be used the day they're released.
- Only the active provider's key and model fields are shown in the API Keys tab.
- Deep per-element appearance customization (bubble, header, header buttons, window, messages) with alpha color pickers, per-side paddings, responsive breakpoints and a live preview.
- Automatic black/white contrast for text on top of the primary color.
- Customizable welcome message, input placeholder, "Terms of use" link text and URL.
- Cost controls: response token limit, history cap, server-side message length caps, per-IP rate limiting and an optional site-wide daily message limit.
- Conversation history with contact detection, reviewable in a chat-style admin view.
- Opt-in (disabled by default) "Powered by" footer credit, per directory guidelines.
- "Delete all data on uninstall" option with a proper
uninstall.php.
- Full internationalization (English base); ready for community translations on translate.wordpress.org.
- Accessibility: ARIA labels, Escape closes the chat, focus management.