Files
a/README.md
zeekay 9e3ee40238 feat: a.hanzo.ai — drop-in Hanzo widget CDN
One-line <script> loaders that mount Hanzo widgets on any site:
  /chat      hz_ widget key -> Ask-AI bubble (streams /v1/chat/completions)
  /analytics pk_ ingest key -> [email protected] + Annotate
  /checkout  pk_ pub key    -> [email protected] hosted checkout

Tiny, framework-free, Shadow-DOM isolated loaders; secret keys (hk-/sk-)
refused; missing key -> warn, no crash. Served by ghcr.io/hanzoai/static.
Widget builds vendored. Behavior-tested (jsdom + headless gallery render).
2026-07-24 17:15:29 -07:00

987 B

a.hanzo.ai

Drop a Hanzo widget onto any site. One line.

<script src="https://a.hanzo.ai/chat"      data-key="hz_..."></script>
<script src="https://a.hanzo.ai/analytics" data-key="pk_..."></script>
<script src="https://a.hanzo.ai/checkout"  data-key="pk_..."></script>
  • chat — a floating Ask-AI bubble that streams from api.hanzo.ai/v1/chat/completions. data-key is a client-safe hz_ widget key.
  • analytics — zero-config event capture + Annotate, to api.hanzo.ai/v1/analytics. data-key is a publishable pk_ ingest token.
  • checkout — hosted checkout; tag any button data-hanzo-checkout. data-key is a publishable pk_ key.

Each src is a tiny, framework-free loader that reads its data-*, refuses secret keys, lazy-loads the widget, and mounts it inside a Shadow root so it can never break the host page. Get a key at hanzo.id.

Served by ghcr.io/hanzoai/static. See LLM.md for internals.