mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 03:30:16 +00:00
live.mjs and openSource/read.mjs fetched hanzo.ai's deployed JavaScript and lifted the JSON literal out of it: the home band's tiles, calendar and cards, and /open-source's boards. That bundle goes away at cutover, and it was two days old when read. lib/oss.mjs ports hanzo-inc/app's scripts/sync-oss.ts. The estate (the year, the days, the months, the forge) is GET /v1/git/activity, read every build; GitHub's half (stars, forks, languages, contributors, the cards, each org's description) comes from GitHub when GITHUB_TOKEN is set, else from content/live/_github.json, and a push reuses the contributors and descriptions it holds. hanzo.yml hands the runner's GIT_TOKEN over as GITHUB_TOKEN. The numbers are the app's: Hanzo 5,149 stars against 5,130 two days earlier, the same 16, 6 and 6 cards, 38, 15 and 4 organizations. read.mjs is now shape.mjs, which only shapes; live.mjs writes both _oss.json and snapshot.js from the one read. The cards for hanzoai/ai and hanzoai/cloud, which the forge does not list, had no address and linked "undefined"; they open GitHub, as the app's cards do. Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk
7 lines
271 B
JavaScript
7 lines
271 B
JavaScript
/* /open-source figures from the build's read of api.hanzo.ai/v1/git/activity and GitHub (openSource/snapshot.js, written by scripts/live.mjs). */
|
|
import S from './openSource/snapshot';
|
|
|
|
export const ECO = S.eco;
|
|
export const TOTAL = S.total;
|
|
export const ORGS = S.orgs;
|