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 { InkObject } from "@/components/canvasui/InkObject"import { photoImage } from "@/preview/images"export default function InkObjectDemo() { const ref = useRef<HTMLDivElement>(null) useEffect(() => { const el = ref.current if (!el) return render( h(InkObject, { src: photoImage("ink study of a chair", 800, 600), style: { width: "100%", height: "100%" }, }), el, ) return () => { render(null, el) } }, []) return <div ref={ref} style={{ width: 480, height: 360 }} />}