Title: `next/og` compatible function built on Satori · Issue #442 · voidzero-dev/void · GitHub
Open Graph Title: `next/og` compatible function built on Satori · Issue #442 · voidzero-dev/void
X Title: `next/og` compatible function built on Satori · Issue #442 · voidzero-dev/void
Description: Summary It would be great if Void provided an ImageResponse compatible with next/og, so OG images can be generated from JSX in Void apps (e.g. import { ImageResponse } from 'void/og'). Motivation Most apps need dynamic OG images, and nex...
Open Graph Description: Summary It would be great if Void provided an ImageResponse compatible with next/og, so OG images can be generated from JSX in Void apps (e.g. import { ImageResponse } from 'void/og'). Motivation M...
X Description: Summary It would be great if Void provided an ImageResponse compatible with next/og, so OG images can be generated from JSX in Void apps (e.g. import { ImageResponse } from 'void/og'). Moti...
Opengraph URL: https://github.com/voidzero-dev/void/issues/442
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`next/og` compatible function built on Satori","articleBody":"## Summary\n\nIt would be great if Void provided an `ImageResponse` compatible with `next/og`, so OG images can be generated from JSX in Void apps (e.g. `import { ImageResponse } from 'void/og'`).\n\n## Motivation\n\nMost apps need dynamic OG images, and `next/og` is the API most people (and coding agents) already know. If existing `next/og` code worked by just changing the import, moving from Next.js/Vercel to Void would be much easier.\n\nSetting this up yourself on Workers is surprisingly tricky. Satori and resvg ship Wasm that has to be loaded as precompiled modules on workerd, and recent Satori versions don't run on Workers out of the box. This feels like something Void could solve once for everyone. vinext already has a `next/og` shim, but that only helps vinext apps.\n\n## Why Satori and not Cloudflare Images\n\nCloudflare Images can transform and overlay images, and recently added basic text rendering. But it has no layout engine: no JSX/HTML/CSS input, no flexbox, no nested styled elements. So it can't reproduce what `next/og` does. `next/og` itself is built on Satori + resvg, so building on vercel/satori is the most straightforward way to get the same output.\n\nIf this direction is appropriate, I would be happy to help implement the prototype.","author":{"url":"https://github.com/ogawa0071","@type":"Person","name":"ogawa0071"},"datePublished":"2026-10-15T23:28:37Z","url":"https://github.com/voidzero-dev/void/issues/442"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ffeaa96e-65bf-ed24-bc3e-f8208e88ba34 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B0D0:B85F4:1D682F8:27CE8EC:6AFB970A |
| html-safe-nonce | e15dae308ab4f759a1153e8cfcd949003e3831633ffa4e99779b48f60ec144ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEQwOkI4NUY0OjFENjgyRjg6MjdDRThFQzo2QUZCOTcwQSIsInZpc2l0b3JfaWQiOiI4MjcxNzQwNzA0NzIwMTMxODUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0263fe28f8a686946e82a6fe92fb2bbfea1b1bf049af77068c01c2c382a8e813 |
| hovercard-subject-tag | issue:5875525416 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/voidzero-dev/void/442/issue_layout |
| twitter:image | https://opengraph.githubassets.com/406224408dd8f9553472644d3bec42cc865f81f96bf855e1a5668d4589d67641/voidzero-dev/void/issues/442 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/406224408dd8f9553472644d3bec42cc865f81f96bf855e1a5668d4589d67641/voidzero-dev/void/issues/442 |
| og:image:alt | Summary It would be great if Void provided an ImageResponse compatible with next/og, so OG images can be generated from JSX in Void apps (e.g. import { ImageResponse } from 'void/og'). Motivation M... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ogawa0071 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4f01efe06174a5ba6342fd58e42d02295e0675bedbb465d6bef2dbaec8e46556 |
| turbo-cache-control | no-preview |
| go-import | github.com/voidzero-dev/void git https://github.com/voidzero-dev/void.git |
| octolytics-dimension-user_id | 149750581 |
| octolytics-dimension-user_login | voidzero-dev |
| octolytics-dimension-repository_id | 1164437080 |
| octolytics-dimension-repository_nwo | voidzero-dev/void |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1164437080 |
| octolytics-dimension-repository_network_root_nwo | voidzero-dev/void |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a52db8866b6543b4e83730cd6a6b1360f1a9e4dc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width