Social preview

GitHub social preview generator

The image shown when someone shares your repository on X, LinkedIn, Slack or Discord. Most repos don't have one; yours can, in under a minute.

Social preview
Download PNG (1280×640)Then: repo → Settings → General → Social preview → Edit → Upload an image.

How to add it to your repository

  1. Download the PNG above.
  2. Open your repository on GitHub and go to Settings → General.
  3. Under Social preview, click Edit → Upload an image and choose the file.

GitHub recommends 1280×640 pixels and files under 1 MB, which is exactly what this tool produces. Link previews on X, LinkedIn and Slack can take a while to pick up the new image, because those sites cache previews.

Buy Me a Coffee at ko-fi.com