Skip to content

Add the ability to do @vercel/og for image generation #11629

@jdgamble555

Description

@jdgamble555

Describe the problem

I would like to be able to generate og images on Vercel edge. Unfortunately, it uses JSX. Vercel / SvelteKit needs to make a version that works for SvelteKit.

https://vercel.com/docs/functions/edge-functions/og-image-generation
https://github.com/vercel/og-image

Describe the proposed solution

Create an official SvelteKit Version.

Alternatives considered

There is an unofficial version that translates a string into JSX, but it is buggy, and adds unnecessary translation. I personally couldn't not get SVG images to work correctly. - https://github.com/etherCorps/sveltekit-og

Importance

would make my life easier

Additional Information

This may would need to be added to the Vercel adapter, I'm not sure the best place for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions