custom github repository preview image

1 min read  •  18 July 2023
Views:

By default github provides following preview image for your repository.

default-repo-preview-image

But you can override the default preview image for your github repository. Here's how you can do that

  • Go to your repository settings
repo-settings
  • Go to General > Social Preview and upload your image here
social-preview

Awesome 🚀, now the uploaded image will be shown as preview when you share your repository url on social platforms.

example-twitter-preview