Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(images): give the certificate poster, companion face and print QR an explicit loading attribute
nirholaseb536644601a
diff --git a/src/certificate-page.js b/src/certificate-page.jsindex 447100b2f..fee8fd186 100644--- a/src/certificate-page.js+++ b/src/certificate-page.js@@ -93,7 +93,7 @@ function stage(cert) {</div>`;}if (poster) {- return `<div class="ct-stage"><img src="${esc(poster)}" alt="The model this print was made from" />${badge}</div>`;+ return `<div class="ct-stage"><img src="${esc(poster)}" alt="The model this print was made from" loading="eager" decoding="async" />${badge}</div>`;}// The source model was deleted or was never a stored creation. The// certificate is still fully valid: the hash and the attestation are what itdiff --git a/src/companion/page.js b/src/companion/page.jsindex 17bc70b9a..8f6c4f778 100644--- a/src/companion/page.js+++ b/src/companion/page.js@@ -151,7 +151,7 @@ function renderStageFace(event) {if (viewer.dataset.fallback !== '1' || !event) return;const name = event.contact_name || event.sender || 'Your companion';viewer.innerHTML = event.contact_avatar_image_url- ? `<img class="stage-face" src="${esc(event.contact_avatar_image_url)}" alt="${esc(name)}" />`+ ? `<img class="stage-face" src="${esc(event.contact_avatar_image_url)}" alt="${esc(name)}" loading="eager" decoding="async" />`: `<div class="stage-face stage-face-initial" aria-hidden="true">${esc(name.slice(0, 1).toUpperCase())}</div>`;const caption = document.createElement('div');caption.className = 'stage-empty';diff --git a/src/print-insert.js b/src/print-insert.jsindex b184bd69c..8c35bd6da 100644--- a/src/print-insert.js+++ b/src/print-insert.js@@ -115,7 +115,7 @@ function renderCard(payload) {<div class="pi-qr-block">${cert.qr_url- ? `<img class="pi-qr" src="${esc(cert.qr_url)}" alt="QR code to this certificate" />`+ ? `<img class="pi-qr" src="${esc(cert.qr_url)}" alt="QR code to this certificate" loading="eager" decoding="async" />`: '<div class="pi-qr" style="border:0.3mm dashed #999;display:flex;align-items:center;justify-content:center;font-size:2.6mm;color:#666">QR pending</div>'}<p class="pi-qr-caption">${esc(cert.certificate_url.replace(/^https?:\/\//, ''))}</p>