Skip to content

feat(renderers): migrate all cards to satori renderer#57

Merged
evirunurm merged 8 commits into
mainfrom
feat/migrate-to-satori
Mar 20, 2026
Merged

feat(renderers): migrate all cards to satori renderer#57
evirunurm merged 8 commits into
mainfrom
feat/migrate-to-satori

Conversation

@evirunurm
Copy link
Copy Markdown
Owner

@evirunurm evirunurm commented Mar 20, 2026

Summary

  • Migrates all card renderers (ErrorCard, StatCard, LanguageCard) from the previous rendering approach to Satori for SVG generation via JSX
  • Adds Satori dependencies and configures JSX support for the rendering pipeline
  • Extracts reusable helpers (getDecordImage) and removes unused interfaces (TextAttr, CardAttr)
  • Adds a mock GitHub API response for easier local development

Test plan

  • Verify renderErrorCard renders correctly with Satori
  • Verify renderStatCard renders correctly for all decor variants
  • Verify renderLanguageCard renders correctly (percent and pie variants)
  • Run existing test suite: npm test
  • Check generated SVG output visually via local dev server

🤖 Generated with Claude Code

@evirunurm evirunurm linked an issue Mar 20, 2026 that may be closed by this pull request
21 tasks
@evirunurm evirunurm self-assigned this Mar 20, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
github-stats-uvqq Ready Ready Preview, Comment Mar 20, 2026 4:21pm

@evirunurm
Copy link
Copy Markdown
Owner Author

Tests

Stats

imageimage

image

Languaes

imageimage

imageimage

@evirunurm evirunurm merged commit 59e35c6 into main Mar 20, 2026
3 checks passed
@evirunurm evirunurm deleted the feat/migrate-to-satori branch March 20, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(renderers): migrate SVG generation to satori

1 participant