Run npm run dev, then open
/demo
(use the http:// URL from the terminal — not
https:// unless you ran npm run dev:https).
Use the launcher at the bottom-right.
UI tokens and class names follow
shadcn.io/ai (see
docs/DESIGN_SYSTEM.md; source in widget/,
built with npm run build → public/widget.css +
public/widget.js. See docs/BUILD.md).
In the Wrangler terminal, press t for a
trycloudflare.com URL. Use npm run dev or
npm run dev:tunnel — not
dev:https. With HTTPS locally, the tunnel targets
https://127.0.0.1:8787 and cloudflared cannot reach the
self-signed cert, so the public URL shows Host Error /
502. Plain HTTP locally is fine: the tunnel is already HTTPS. Open
https://<your-subdomain>.trycloudflare.com/demo (the bare
tunnel URL without /demo used to 404), then
use the bookmarklet below (it picks up that host).
digicom.al is HTTPS. Browsers block an
http:// widget script on an HTTPS page (mixed content), so
nothing appears — no error in the page UI. Use
dev:https + 127.0.0.1, or a
trycloudflare.com URL from npm run dev +
t.
npm run dev first (only one server on port 8787).
Then run npm run dev:https and use the
Ready on https://… URL from the terminal.
dev:https only), accept the
local certificate once, then drag the bookmarklet.