You know that feeling when you make your latest hack project public, and you’re ready to share it with the world? And when you go to Twitter to post

A framework for building Open Graph images | The GitHub Blog

submited by
Style Pass
2021-06-23 03:00:39

You know that feeling when you make your latest hack project public, and you’re ready to share it with the world? And when you go to Twitter to post a link to your repository, you just see a big picture of yourself? We wanted to make that a better experience.

We recently set about creating a framework and service for automatically generating social sharing images for repositories and other resources on GitHub.

We heard from you that seeing the author’s face was unexpected. Plus, there’s not a lot of quick information here, aside from the plaintext title and description.

We do have custom repository images, and you can still use those to give your project some bespoke branding—but most people don’t upload a custom image for their repositories, so we wanted to create a better default experience for every repo on GitHub.

We create similar cards for issues, pull requests and commits, with more resources coming soon (like Discussions, Releases and Gists):

Leave a Comment