Skip to content

Build-time OpenGraph image generation #165

@oscartbeaumont

Description

@oscartbeaumont

I'm working on a project with Solid Start and I would like to use the OG package for generating open-graph images.

Due to the fact that my UI communicates with an separate API and the functionality is heavily client side I do a client-only build of the application without SSR. This means in production I don't have access to call server functions such as /_server.

This means that the opengraph image tag doesn't actually work as it currently expects to have the server function available.

For my usecase I don't need to support dyanmic props within the OG images so it would be nice if there was the option to build it into a static image at compile time and include it in the built asssets.

I can see #161 but I can't find the experimental configuration using the latest release of the OG package.

Is this implemented and I just can't find it or is this something that would be concidered?

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