https://github.com/wevm/hono-og
Fork of @vercel/og to support Hono JSX.
https://github.com/wevm/hono-og
Last synced: about 1 year ago
JSON representation
Fork of @vercel/og to support Hono JSX.
- Host: GitHub
- URL: https://github.com/wevm/hono-og
- Owner: wevm
- Created: 2024-02-06T23:54:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T23:26:52.000Z (over 1 year ago)
- Last Synced: 2025-04-15T12:12:25.908Z (about 1 year ago)
- Language: TypeScript
- Size: 2.43 MB
- Stars: 37
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hono-og
Fork of `@vercel/og` to be compatible with **[Hono's JSX pragma](https://hono.dev/guides/jsx)**.
- [Actual README](https://www.npmjs.com/package/@vercel/og)
- [Website](https://vercel.com/docs/functions/edge-functions/og-image-generation)
## Example
```tsx
import { Hono } from "hono"
import { ImageResponse } from "hono-og"
const app = new Hono()
app.get("/", () => {
return new ImageResponse(
hello hono
,
)
})
export default app
```