~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
27 lines · 984 B Raw History
<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta name="color-scheme" content="light dark" />
		<title>HUD playground</title>
		<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
		<!--
			The light or dark the workspace was drawn in last (lib/theme.ts
			keeps its theme), drawn before anything else so the page opens in
			it; its palette's colours are left out, so the preview can be
			drawn in any of HUD's themes, light and dark among them.
		-->
		<script>
			try {
				const kept = JSON.parse(localStorage.getItem('hud-theme') ?? 'null');
				const scheme = typeof kept?.style === 'string' ? /color-scheme:(light|dark)/.exec(kept.style)?.[1] : null;
				if (scheme) document.documentElement.style.colorScheme = scheme;
			} catch {}
		</script>
	</head>
	<body>
		<div id="app"></div>
		<script type="module" src="/workspace/playground.ts"></script>
	</body>
</html>