Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)