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 { Suspense } from "react"import { GitHubContributions, GitHubContributionsFallback } from "@/components/github-contributions"import { TooltipProvider } from "@/components/ui/tooltip"const start = new Date("2025-01-01T00:00:00Z")const contributions = Promise.resolve( Array.from({ length: 365 }, (_, i) => { const date = new Date(start) date.setUTCDate(start.getUTCDate() + i) const day = date.getUTCDay() const weekend = day === 0 || day === 6 const count = weekend ? i % 3 : (i * 7 + ((i * i) % 11)) % 9 const level = count === 0 ? 0 : count < 3 ? 1 : count < 5 ? 2 : count < 7 ? 3 : 4 return { date: date.toISOString().slice(0, 10), count, level } }))export default function GitHubContributionsDemo() { return ( <TooltipProvider> <div className="w-full max-w-2xl"> <Suspense fallback={<GitHubContributionsFallback />}> <GitHubContributions contributions={contributions} githubProfileUrl="#" /> </Suspense> </div> </TooltipProvider> )}