mirror of
https://github.com/hanzoai/a.git
synced 2026-10-30 18:50:12 +00:00
feat/a-hanzo-ai-embed
Path B ship: the extensionless aliases (/chat, /analytics, /checkout) need hanzoai/static's .js clean-URL fallback, which is merged to static main but cannot be imaged today (git.hanzo.ai native build host unreachable; GitHub Docker Build neutralized). Ship now on the known-good static:0.4.1 base with the gallery advertising the WORKING .js URLs — no 404s. When a static image carrying the fallback lands in GHCR, bump the Dockerfile FROM + restore the extensionless one-liners; nothing else changes.
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-keyis a client-safe hz_ widget key. - analytics — zero-config event capture + Annotate, to
api.hanzo.ai/v1/analytics.data-keyis a publishable pk_ ingest token. - checkout — hosted checkout; tag any button
data-hanzo-checkout.data-keyis 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.
Description
Embeddable widget loader for adding Hanzo chat, analytics, or checkout to any site with one script tag.
65 KiB
Languages
JavaScript
67.9%
HTML
26.8%
Dockerfile
5.3%