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.

441 B
Raw Blame
// POST /api/community/logout clears the CoinCommunities user session cookies.
import { cors, json, method, wrap } from '../_lib/http.js';
import { clearUserSession } from '../_lib/coin-communities.js';

export default wrap(async (req, res) => {
	if (cors(req, res, { methods: 'POST,OPTIONS', credentials: true })) return;
	if (!method(req, res, ['POST'])) return;
	clearUserSession(res);
	return json(res, 200, { data: { ok: true } });
});