Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rumaan/astro-vercel-og
Demo for generating OG Image using satori served from Astro Server Endpoint using Vercel Serverless Functions
https://github.com/rumaan/astro-vercel-og
astro og-image-generator vercel-og
Last synced: 3 months ago
JSON representation
Demo for generating OG Image using satori served from Astro Server Endpoint using Vercel Serverless Functions
- Host: GitHub
- URL: https://github.com/rumaan/astro-vercel-og
- Owner: rumaan
- Created: 2022-10-31T15:49:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T05:38:48.000Z (about 2 years ago)
- Last Synced: 2023-03-07T09:38:40.934Z (almost 2 years ago)
- Topics: astro, og-image-generator, vercel-og
- Language: TypeScript
- Homepage: https://astro-vercel-og.vercel.app
- Size: 183 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vercel OG Image in Astro
Generates OG Image using [satori](https://github.com/vercel/satori) served from [Astro Server Endpoints](https://docs.astro.build/en/core-concepts/endpoints/#server-endpoints-api-routes).
Requires SSR Mode, See `output: 'server'` in `astro.config.mjs`. Deployed using [Vercel adapter for Astro](https://docs.astro.build/en/guides/integrations-guide/vercel/).Blog post: https://rumaan.dev/blog/open-graph-images-using-satori
Deployed URL: https://astro-vercel-og.vercel.app/
More info: [Vercel OG Image Generation](https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation)
![OG Image Generated from Vercel OG](https://astro-vercel-og.vercel.app/index.og)