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 { GitHubActivity, type Contribution, type ContributionLevel, type RepoContribution } from "@/components/ui/github-activity"const start = Date.UTC(2024, 0, 7)function levelFor(count: number): ContributionLevel { if (count === 0) return 0 if (count < 3) return 1 if (count < 5) return 2 if (count < 7) return 3 return 4}const contributions: Contribution[] = Array.from({ length: 7 * 40 }, (_, i) => { const count = (i * 7 + (i % 5) * 3) % 9 return { date: new Date(start + i * 86400000).toISOString().slice(0, 10), count, level: levelFor(count), }})const repos: RepoContribution[] = [ { name: "glint", count: 42 }, { name: "dotfiles", count: 18 }, { name: "notes", count: 7 },]export default function GitHubActivityDemo() { return <GitHubActivity months={9} contributions={contributions} repos={repos} />}