# WebX11 Chat Widget 1.0.0 A single-file AI chat widget you drop onto your own website. It renders a floating bubble, streams answers token-by-token from an Ollama-compatible endpoint, formats links/e-mails/phone numbers, offers quick-reply chips, and goes fullscreen on phones. No build step, no framework, no external CDN, no tracking, no cookies. ## What you receive | Item | File | |---|---| | Widget source (HTML + CSS + JS in one file) | `src/widget.html` | | Configuration template with every option documented | `src/config.example.js` | | This README + license + changelog | `README.md`, `LICENSE`, `CHANGELOG.md` | | Setup guide, embed snippet, troubleshooting | `docs/USAGE.md` | | 30 days of setup help by e-mail after purchase | included with the Setup Package | You do **not** receive a hosted service, a model, or an API key. The widget is a front end: it calls an endpoint that you own and operate. That is deliberate — your conversations and your key stay on your infrastructure. ## Requirements - Any static web host (or an existing site — the widget is a fragment you paste in). - An Ollama-compatible endpoint reachable over HTTPS that accepts `POST {"model": "...", "prompt": "...", "stream": true}` and returns newline-delimited JSON with a `response` field. - That endpoint must allow your website's origin (CORS). See `docs/USAGE.md` → Troubleshooting. ## Install in 3 steps 1. **Copy the files.** Put `src/widget.html` and a copy of `src/config.example.js` renamed to `config.js` in the same directory on your server. 2. **Edit `config.js`.** Set `endpoint` to your gateway (for example `https://YOUR-HOST/ollama`), set `model`, `title`, `accentColor`, `welcomeMessage` and `systemPrompt`. Never put an API key in this file. 3. **Open or embed.** Visit the page, or paste the widget block from `src/widget.html` plus the two `