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 { MEDIA_LIBRARY_NODES, MEDIA_LIBRARY_STORAGE } from "@/components/media-library/dummy-data"import { Badge } from "@/components/ui/badge"import { Card, CardContent, CardFooter } from "@/components/ui/card"import { Separator } from "@/components/ui/separator"const toGb = (bytes: number) => (bytes / 1_000_000_000).toFixed(1)export default function MediaLibraryFixturesDemo() { const { used, total } = MEDIA_LIBRARY_STORAGE return ( <Card className="w-full max-w-md"> <CardContent className="grid gap-3"> {MEDIA_LIBRARY_NODES.map((node, i) => ( <div key={node.id}> {i > 0 && <Separator className="mb-3" />} <div className="flex items-center justify-between gap-2 text-sm"> <span className="truncate font-medium">{node.name}</span> <Badge variant="secondary">{node.type}</Badge> </div> </div> ))} </CardContent> <CardFooter className="text-muted-foreground text-sm"> {toGb(used)} GB of {toGb(total)} GB used </CardFooter> </Card> )}