Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { useEffect, useRef } from "react"import { h, render } from "preact"import { Asciify } from "@/components/canvasui/Asciify"export default function AsciifyDemo() { const ref = useRef<HTMLDivElement>(null) useEffect(() => { const el = ref.current if (!el) return render( h( Asciify, { radius: 0.4, charset: "ascii", className: "h-64 w-full rounded-md border" }, h( "div", { className: "flex h-full flex-col items-center justify-center gap-2 p-6 text-center" }, h("p", { className: "text-2xl font-bold" }, "Hello, world"), h("p", { className: "text-muted-foreground" }, "Move your cursor over this text.") ) ), el ) return () => { render(null, el) } }, []) return <div ref={ref} className="w-full max-w-lg" />}