Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat(profile): show the star-history Top Committer badge beside followers instead of the chart
nirholasd6ddd4b2fbbd
diff --git a/scripts/build-github-profile.mjs b/scripts/build-github-profile.mjsindex 6d2a41347..8a94308db 100644--- a/scripts/build-github-profile.mjs+++ b/scripts/build-github-profile.mjs@@ -118,9 +118,6 @@ export function buildProfile(allRepos, { includeGated = false, activityData = nuif (activity) Object.assign(assets, renderActivityVisuals(activity));const pic = (name, alt) =>`<picture><source media="(prefers-color-scheme: dark)" srcset="./assets/${name}-dark.svg"/><source media="(prefers-color-scheme: light)" srcset="./assets/${name}-light.svg"/><img alt="${alt}" src="./assets/${name}-light.svg" width="100%"/></picture>`;- const historyRepos = featured.map((r) => `${OWNER}/${r.name}`).join(',');- const historySvg = (dark) => `https://api.star-history.com/svg?repos=${historyRepos}&type=Date${dark ? '&theme=dark' : ''}`;- const starHistory = `<a href="https://www.star-history.com/${OWNER}"><picture><source media="(prefers-color-scheme: dark)" srcset="${historySvg(true)}"/><source media="(prefers-color-scheme: light)" srcset="${historySvg(false)}"/><img alt="Star history of the most-starred repositories" src="${historySvg(false)}" width="100%"/></picture></a>`;const anchor = (t) => t.toLowerCase().replace(/[^a-z0-9 -]/g, '').trim().replace(/\s+/g, '-');const readme = `<h1 align="center">${OWNER}</h1>@@ -129,6 +126,7 @@ export function buildProfile(allRepos, { includeGated = false, activityData = nu<p align="center"><a href="https://github.com/${OWNER}?tab=followers"><img alt="Followers" src="https://img.shields.io/github/followers/${OWNER}?style=for-the-badge&logo=github&label=followers"/></a>+<a href="https://www.star-history.com/${OWNER}"><img alt="Top Committer 2026" src="https://api.star-history.com/badge?user=${OWNER}&year=2026" height="44" align="middle"/></a><a href="https://github.com/${OWNER}?tab=repositories&sort=stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/${OWNER}?affiliations=OWNER&style=for-the-badge&logo=github&label=stars"/></a><a href="https://github.com/${OWNER}?tab=repositories"><img alt="Repositories" src="https://img.shields.io/badge/repositories-${repos.length}-6250d6?style=for-the-badge&logo=github"/></a></p>@@ -159,8 +157,6 @@ ${pic('growth', 'Cumulative repositories over time, stacked by section')}${pic('languages', 'A spinning 3D donut of primary languages')}${pic('punchcard', 'Punchcard of when repositories were created, by weekday and hour')}--${starHistory}${activity ? activitySection(activity, pic) : ''}## Find your waydiff --git a/tests/github-profile.test.js b/tests/github-profile.test.jsindex ad3ba87f6..643784fd0 100644--- a/tests/github-profile.test.js+++ b/tests/github-profile.test.js@@ -60,11 +60,12 @@ describe('github profile', () => {expect(llms).not.toMatch(/three\.ws ecosystem|## Platform/);});- it('embeds a themed star-history chart of the featured repos linked to star-history.com', () => {+ it('puts the star-history Top Committer badge in the header row, linked to star-history.com', () => {const { readme } = buildProfile(repos);- expect(readme).toContain('href="https://www.star-history.com/nirholas"');- expect(readme).toContain('https://api.star-history.com/svg?repos=nirholas/big-tool,nirholas/agent-mcp');- expect(readme).toContain('&theme=dark');+ const header = readme.split('## About')[0];+ expect(header).toContain('href="https://www.star-history.com/nirholas"');+ expect(header).toContain('https://api.star-history.com/badge?user=nirholas&year=2026');+ expect(readme).not.toContain('api.star-history.com/svg');});it('shortens section titles for tight labels', () => {