Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic OG Image Generation Tutorial #18384

Open
wants to merge 8 commits into
base: production
Choose a base branch
from

Conversation

mohdlatif
Copy link

@mohdlatif mohdlatif commented Nov 25, 2024

Add Dynamic OG Image Generation Tutorial

Summary

This PR adds a new tutorial that guides users through creating a dynamic Open Graph (OG) image generator using Cloudflare Workers. The tutorial covers:

  • Setting up a Cloudflare Worker with TypeScript and React
  • Implementing dynamic image generation using @vercel/og
  • Configuring font loading strategies
  • Adding caching mechanisms
  • Deploying the solution

The tutorial aims to help developers leverage Cloudflare's edge network for fast, scalable social media image generation.

Screenshots

Style 1 Preview

Style 2 Preview

Style 3 Preview

Documentation checklist

  • The documentation style guide has been adhered to
  • Content has been reviewed for technical accuracy
  • Code examples have been tested and verified
  • All images include appropriate alt text
  • Links have been verified and are working

Copy link
Contributor

@hyperlint-ai hyperlint-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 files reviewed, 7 total issue(s) found.

@github-actions github-actions bot added size/l and removed size/xl labels Nov 25, 2024
Copy link
Contributor

@hyperlint-ai hyperlint-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 files reviewed, 6 total issue(s) found.

@mohdlatif mohdlatif changed the title First Blog Draft Dynamic OG Image Generation Tutorial Nov 25, 2024
mohdlatif and others added 6 commits November 25, 2024 17:26
…using Cloudflare Workers/index.mdx


Replacing ’ with '

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
…using Cloudflare Workers/index.mdx


Replacing ’ with '

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
…using Cloudflare Workers/index.mdx


Replacing ’ with '

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
…using Cloudflare Workers/index.mdx


Replacing ’ with '

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
…using Cloudflare Workers/index.mdx


Replacing ’ with '

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
…using Cloudflare Workers/index.mdx


Replacing ’ with '

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants