* no right to change the code!
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.
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.
Runs entirely in the browser using WebLLM. No data sent to servers, complete privacy for your users.
Zero configuration needed. No API keys, no backend servers, no subscription costs.
Automatically adapts to any screen size. Perfect experience on desktop, tablet, and mobile.
Users can choose from 10 different AI models (135M to 7B parameters) based on their needs.
Typewriter-style AI replies for better UX
Conversations saved in localStorage
Toggle between light and dark themes
Non-intrusive bottom-right placement
Self-contained with Tailwind CDN
Polished interactions and transitions
WebLLM requires WebGPU support. Compatible browsers:
Check compatibility at webgpureport.org
The widget is self-contained and requires no configuration. However, you can customize:
Edit the SYSTEM_PROMPT variable in the JS file to change AI personality:
const SYSTEM_PROMPT = "You are a helpful assistant for our website...";
Modify CSS classes bottom-6 right-6 to change bubble placement.
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