🚀 Feature Request
Problem
Currently, the CommitPulse badge is fixed at 600×420px with no way to resize it.
This makes it hard to fit cleanly into different README layouts or profile styles.
Proposed Solution
Add a size query parameter that supports three presets:
| Size |
Dimensions |
| small |
400×280px |
| medium |
600×420px (default) |
| large |
800×560px |
Example Usage
/api/streak?user=jhasourav07&size=small
/api/streak?user=jhasourav07&size=large
Where Changes Would Be Needed
types/index.ts — add size?: string to BadgeParams
lib/svg/generator.ts — read params.size and scale SVG dimensions
app/customize/page.tsx — add Size dropdown in the control panel
Additional Context
This would pair well with the existing font and theme customization options
already available in the Customization Studio.
🚀 Feature Request
Problem
Currently, the CommitPulse badge is fixed at 600×420px with no way to resize it.
This makes it hard to fit cleanly into different README layouts or profile styles.
Proposed Solution
Add a
sizequery parameter that supports three presets:Example Usage
/api/streak?user=jhasourav07&size=small
/api/streak?user=jhasourav07&size=large
Where Changes Would Be Needed
types/index.ts— addsize?: stringtoBadgeParamslib/svg/generator.ts— readparams.sizeand scale SVG dimensionsapp/customize/page.tsx— add Size dropdown in the control panelAdditional Context
This would pair well with the existing font and theme customization options
already available in the Customization Studio.