What it was given
The full context of the widget on the right. Lines it uses light up.
WidgetAI lets a business put an AI assistant on its website. The assistant answers visitors from the business context the owner writes in the dashboard, plus optional instructions for tone and behaviour. Install: copy one script tag from the dashboard and paste it into the site's HTML, before </body>. No SDK, no framework, no build step. The script tag looks like <script src="https://api.widgetai.dhibi.tn/widget/embed.js" data-widget-id="widget_..."></script>. The widget renders inside a shadow DOM, so the site's CSS does not leak into it and its CSS does not leak into the site. Appearance: primary colour, panel background colour, launcher corner (bottom-right, bottom-left, top-right, top-left) and X/Y offsets from 0 to 2000 pixels. Default is bottom-right, 20px from each edge. Domains: a widget is public by default. It can be restricted to a list of approved domains; requests from other sites are refused. AI: each widget uses WidgetAI-managed AI by default. Owners can instead connect their own OpenRouter API key and choose any OpenRouter model. Keys are stored encrypted. One account can have many widgets, each with its own context, instructions, colours and domains, for example one for support and one for sales. Sign-in is with Google. The dashboard is at dashboard.widgetai.youssef.tn. WidgetAI is built and run by Youssef Dhibi. Contact: dhibi.ywsf@gmail.com. The landing page is open source under the MIT licence.
What it says
A real WidgetAI widget. Ask it anything; it can only use the text on the left.
The first two replies were recorded from this widget. New questions go to it live.
Three things you hand over
You give it a page of plain text about your business.
It gives back answers built from that text, and an honest "I don't know" for everything else.
You give it two colours and a corner.
It gives back a launcher that looks like it was always part of your site.
You give it one line of HTML, before </body>.
It gives back the same assistant on every page, from the next page load.
Dark sites get a dark panel.
Set the panel background and the widget works out readable text colours for you. This is Ledgerly, an example API docs site, with its widget answering a rate-limit question at 2 a.m.
Small parts, up close
The practical part
What people ask before they paste the tag, answered the way the widget would answer it.
- How do I install it?
- One script tag before
</body>. No SDK, no framework, no build step, so it works on WordPress, Webflow, Shopify themes and hand-written HTML alike. - What does it know about my business?
- Only the context and instructions you write for that widget. It doesn't crawl your site or read anything you didn't paste in.
- And when it doesn't know?
- It says so and points to your contact instead of inventing an answer. You saw it do that with pricing, further up.
- Can someone else put it on their site?
- Not if you list your domains. Requests from any other site are refused before the AI is asked.
- Will it look like my site?
- Pick the primary and panel colours, the corner and offsets from 0 to 2000px. It renders in a shadow DOM, so your CSS and its CSS stay apart.
- Which AI does it use?
- WidgetAI's managed AI by default, or your own OpenRouter key with the model you choose. Keys are stored encrypted.
- How do I sign up?
- Sign in with Google. One account can run several widgets, each with its own settings. Anything else: dhibi.ywsf@gmail.com.
Write it down.
It answers.
Put what your business knows into the dashboard tonight, paste your tag, and tomorrow your site answers its visitors on its own.
<script src="https://api.widgetai.dhibi.tn/widget/embed.js" data-widget-id="your-widget-id" ></script>