Skip to content

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.

487 B
Raw Blame
// /event: shows the scheduled event's market, matched on the event id in /event.json.
import { mountMarketStrip } from './entry-strip.js';

const el = document.getElementById('em-strip');
if (el) {
	fetch('/event.json', { headers: { accept: 'application/json' } })
		.then((r) => (r.ok ? r.json() : null))
		.then((ev) => {
			if (ev?.id) mountMarketStrip(el, { sourceKind: 'event_leaderboard', sourceRef: ev.id, limit: 1, heading: 'Who wins this event?' });
		})
		.catch(() => {});
}