Skip to content

Commit

Permalink
feat: satori edge rendering support
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Feb 1, 2023
1 parent bcb458b commit 921b8cf
Show file tree
Hide file tree
Showing 36 changed files with 1,518 additions and 1,046 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Enlightened OG Image generation for Nuxt 3.

## Demos

- [Alpine Theme](https://stackblitz.com/edit/github-hgunsf?file=package.json) (visit `/__og_image__`)
- [Vercel Edge Demo](https://nuxt-og-image-playground.vercel.app/)
- [StackBlitz - Alpine Theme](https://stackblitz.com/edit/github-hgunsf?file=package.json) (visit `/__og_image__`)

## Features

Expand All @@ -42,7 +43,7 @@ Enlightened OG Image generation for Nuxt 3.
- 🤖 Browser provider: Supporting painless, complex templates
- ✨ Prerendering enabled for static images
- 📸 Feeling lazy? Just generate screenshots with options for hiding elements, waiting for animations, and more
- ⚙️ Edge / WASM compatible
- ⚙️ Works with Cloudflare Workers, Vercel Edge, Netlify, and more

## Install

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@
"pathe": "^1.1.0",
"playwright-core": "^1.30.0",
"radix3": "^1.0.0",
"satori": "^0.1.1",
"satori": "^0.1.2",
"satori-html": "^0.3.2",
"sirv": "^2.0.2",
"std-env": "^3.3.1",
"svg2png-wasm": "^1.3.4",
"tinyws": "^0.1.0",
"twemoji": "^14.0.2",
"ufo": "^1.0.1"
"ufo": "^1.0.1",
"yoga-wasm-web": "^0.3.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.35.1",
Expand Down
Loading

0 comments on commit 921b8cf

Please sign in to comment.