mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
The commits section read numbers that were typed into scripts/sync-oss.ts (5,420 repositories, 214 orgs, 784 pushes a day, 245,417 commits, each contributor's count), a day's count scaled by a made-up factor, and a star count that began at 1,420. The forge's database holds 1,150 repositories and 46 orgs; none of that was read. Its panels were tinted rgba over a stylesheet, DualStarButton showed its guess before GitHub answered, and BulkStarModal said "successfully starred" over a forge PUT. scripts/sync-oss.ts (was .mjs) now counts GitHub's public activity for the orgs we publish: commits a day, the year, the week, active repositories and the newest commits, written at each build with the moment it was read. A figure the snapshot does not hold is not drawn. The grid, bars and repository card are @hanzo/ui/marketing (8.29.19); the showcase stylesheet and DayActivityModal are deleted. The org and repo pages lose their typed "velocity" banners. Design lint is zero in components/oss, home/OpenSource and ForgeBetaBanner. e2e/gates/activity.spec.ts holds each figure to the snapshot, the cards to one fill and edge in both schemes, a card's name, line and foot to their own rows, and the phone to no sideways scroll. Claude-Session: https://claude.ai/code/session_017vrVus6PPBgP5YRzKV1iqW
14 lines
578 B
TypeScript
14 lines
578 B
TypeScript
import oss from '@/lib/data/oss.json'
|
|
import { pageMeta } from '@/lib/page-meta'
|
|
export { default } from '@/lib/meta-layout'
|
|
|
|
// The count is the snapshot scripts/sync-oss.ts writes, rounded down to the
|
|
// hundred so the claim holds until the next sync.
|
|
const COUNT = `${Math.floor(oss.repos / 100) * 100}+`
|
|
|
|
export const metadata = pageMeta({
|
|
title: `Open Source — ${COUNT} repositories`,
|
|
description: `Explore ${COUNT} open-source repos across AI infrastructure and models. Verified authors earn 20% of metered spend from deployed projects.`,
|
|
path: '/open-source',
|
|
})
|