* no right to change the code! AI Chatbot by ExploitZ3r0
One-Line Integration

AI Chatbot Widget
For Any Website

Add a fully functional, local AI chatbot to your website with just one line of code. No servers, no API keys, runs entirely in the browser.

🚀 Quick Setup

Simply add this single line before your closing </body> tag:

<script src="https://trejduu32-code.github.io/ww/ai.js"></script>

💡 Note: Make sure ai-chatbot-widget.js is hosted on your server or CDN. The widget will automatically appear in the bottom-right corner.

100% Local Processing

Runs entirely in the browser using WebLLM. No data sent to servers, complete privacy for your users.

No API Keys Required

Zero configuration needed. No API keys, no backend servers, no subscription costs.

Mobile Responsive

Automatically adapts to any screen size. Perfect experience on desktop, tablet, and mobile.

10 AI Models

Users can choose from 10 different AI models (135M to 7B parameters) based on their needs.

✨ Complete Feature Set

Streaming Responses

Typewriter-style AI replies for better UX

Persistent Chat History

Conversations saved in localStorage

Dark Mode Support

Toggle between light and dark themes

Floating Bubble UI

Non-intrusive bottom-right placement

Zero Dependencies

Self-contained with Tailwind CDN

Smooth Animations

Polished interactions and transitions

⚠️ Browser Requirements

WebLLM requires WebGPU support. Compatible browsers:

  • Chrome/Edge 113+ (Windows 10+, macOS 10.13+, Linux)
  • Safari 18+ (macOS Sonoma+)
  • Not supported: Windows 7/8, Internet Explorer, older browsers

Check compatibility at webgpureport.org

🛠️ Customization

The widget is self-contained and requires no configuration. However, you can customize:

System Prompt

Edit the SYSTEM_PROMPT variable in the JS file to change AI personality:

const SYSTEM_PROMPT = "You are a helpful assistant for our website...";

Widget Position

Modify CSS classes bottom-6 right-6 to change bubble placement.

Colors & Styling

All styles use Tailwind CSS classes. Modify gradient colors, bubble shapes, and themes directly in the widget HTML.

Powered by WebLLM • Built with ❤️ for modern web