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(smart-money): proxy coin art through /api/img instead of hot-linking
fudjiac1065a6b090e
diff --git a/pages/smart-money.html b/pages/smart-money.htmlindex 2a69e66ea..af5e34f9e 100644--- a/pages/smart-money.html+++ b/pages/smart-money.html@@ -495,10 +495,9 @@// an image; the proxy resolves those to the placeholder instead of failing.const imgSeed = c.symbol || c.name || c.mint || 'coin';const imgFallback = `/api/img?seed=${encodeURIComponent(imgSeed)}`;- const imgSrc = c.image_uri && /^https?:\/\//i.test(c.image_uri)- ? `/api/img?url=${encodeURIComponent(c.image_uri)}&seed=${encodeURIComponent(imgSeed)}`- : imgFallback;- const img = `<img class="coin-img" src="${esc(imgSrc)}" alt="" loading="lazy" onerror="this.onerror=null;this.src='${esc(imgFallback)}'">`;+ const img = c.image_uri && /^https?:\/\//i.test(c.image_uri)+ ? `<img class="coin-img" src="${esc(`/api/img?url=${encodeURIComponent(c.image_uri)}&seed=${encodeURIComponent(imgSeed)}`)}" alt="" loading="lazy" onerror="this.onerror=null;this.src='${esc(imgFallback)}'">`+ : `<div class="coin-img">${esc((c.symbol || '?').slice(0, 2))}</div>`;const notable = (c.notable || []).slice(0, 4).map((n) =>`<span class="nlabel lb-${n.label || 'neutral'}">${short(n.wallet)}</span>`).join('');const share = shareOf(c);