Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fork of @vercel/og to support Hono JSX.

NotificationsYou must be signed in to change notification settings

wevm/hono-og

Repository files navigation

Fork of@vercel/og to be compatible withHono's JSX pragma.

Example

import{Hono}from"hono"import{ImageResponse}from"hono-og"constapp=newHono()app.get("/",()=>{returnnewImageResponse(<divstyle={{backgroundColor:"black",backgroundSize:"150px 150px",height:"100%",width:"100%",display:"flex",textAlign:"center",alignItems:"center",justifyContent:"center",flexDirection:"column",flexWrap:"nowrap",}}><divstyle={{fontSize:60,fontStyle:"normal",letterSpacing:"-0.025em",color:"white",marginTop:30,padding:"0 120px",lineHeight:1.4,whiteSpace:"pre-wrap",}}>        hello hono</div></div>,)})exportdefaultapp

About

Fork of @vercel/og to support Hono JSX.

Resources

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp