Summary
Product doc section 5.7 specifies an embeddable GitHub README badge for DevCard. Create a badge generator page in the web app where users can copy-paste a Markdown snippet to embed in their GitHub README.
Context
This is a high-leverage growth feature — every developer who adds the badge to their README passively distributes DevCard to their GitHub visitors.
Tasks
Acceptance Criteria
Difficulty
advanced — requires server-side SVG generation, image embedding, caching, and web font rendering considerations.
Summary
Product doc section 5.7 specifies an embeddable GitHub README badge for DevCard. Create a badge generator page in the web app where users can copy-paste a Markdown snippet to embed in their GitHub README.
Context
This is a high-leverage growth feature — every developer who adds the badge to their README passively distributes DevCard to their GitHub visitors.
Tasks
apps/web/src/routes/devcard/badge/+page.svelte— a settings-adjacent page titled 'GitHub Badge'.GET /badge/:username.svgin a newapps/backend/src/routes/badge.tsthat generates SVG dynamically:displayNameandavatarUrlfrom DB.Cache-Control.GET /api/badge/:username/shieldsreturning{ schemaVersion: 1, label: 'devcard', message: '<N> platforms', color: 'blue' }.Acceptance Criteria
aria-label).Difficulty
advanced— requires server-side SVG generation, image embedding, caching, and web font rendering considerations.