Make the image that shows up when your repository link is shared on X, LinkedIn, Slack or Discord. You get a 1280×640 PNG, the size GitHub recommends. Free, no signup.
Reads the public GitHub API from your browser: name, description, topics, stars, license, language, owner avatar.
The preview updates as you type. Free: 5 images/day.
We read the og:image tag of the 60 most-starred repositories on 25 October 2026 and measured every custom image. 25 of 60 (42%) upload their own social preview. The other 35, including torvalds/linux, react, vscode and ollama, show GitHub's automatic card: a 1200×600 image with the repo name, description, avatar and counts. Among the top 10 repos, 6 have a custom one.
| Repository | Social preview |
|---|---|
| sindresorhus/awesome 524k stars | 1280×640 PNG, 7 KB |
| public-apis/public-apis 492k stars | 1280×640 PNG, 73 KB |
| freeCodeCamp/freeCodeCamp 458k stars | 1536×1024 PNG, 353 KB |
| morluto/rea 382k stars | 1280×640 PNG, 856 KB |
| nilbuild/developer-roadmap 370k stars | 1280×640 PNG, 41 KB |
| jwasham/coding-interview-university 363k stars | 640×384 PNG, 360 KB |
| 996icu/996.ICU 277k stars | 1280×640 PNG, 95 KB |
| deepseek-ai/deepseek-harness 261k stars | 1280×640 PNG, 846 KB |
| anomalyco/opencode 221k stars | 1280×640 PNG, 13 KB |
| n8n-io/n8n 209k stars | 1200×1200 PNG, 21 KB |
| yt-dlp/yt-dlp 202k stars | 500×500 PNG, 11 KB |
| trekhleb/javascript-algorithms 197k stars | 1344×643 PNG, 36 KB |
| massgravel/Microsoft-Activation-Scripts 196k stars | 4000×1688 PNG, 754 KB |
| firecrawl/firecrawl 195k stars | 1280×640 PNG, 111 KB |
| ohmyzsh/ohmyzsh 190k stars | 1280×640 PNG, 51 KB |
| 521xueweihan/HelloGitHub 184k stars | 6814×2131 JPEG, 630 KB |
| flutter/flutter 180k stars | 1386×640 PNG, 95 KB |
| DietrichGebert/ponytail 176k stars | 1280×640 PNG, 58 KB |
| twbs/bootstrap 175k stars | 2000×1000 PNG, 177 KB |
| f/prompts.chat 174k stars | 2400×1260 PNG, 360 KB |
| huggingface/transformers 168k stars | 2134×914 PNG, 106 KB |
| jlevy/the-art-of-command-line 163k stars | 480×288 PNG, 203 KB |
| langgenius/dify 159k stars | 2700×1022 PNG, 53 KB |
| open-webui/open-webui 157k stars | 1280×640 PNG, 812 KB |
| langflow-ai/langflow 156k stars | 1280×640 JPEG, 66 KB |
Method: GitHub search API for the most-starred repos, then each repo page's og:image. Custom uploads are served from repository-images.githubusercontent.com, automatic cards from opengraph.githubassets.com. Dimensions read from the image headers. Star counts as of the measurement date.
Running an org with dozens of repos, or a docs site that needs a card per page? Build the card in HTML and render it with the API. A fixed-size body plus full_page gives an exact 1280×640 image.
curl -X POST https://shotmint.creasework.com/v1/screenshot -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"html": "<body style=\"margin:0;width:1280px;height:640px;background:#0d1117;color:#fff;font:700 72px sans-serif;display:flex;align-items:center;justify-content:center\">octocat/hello-world</body>", "width": 1280, "full_page": true}' -o preview.png
For standard 1200×630 page cards with no HTML at all, use /v1/og or the OG image generator. Every new image is 1 credit. €5 buys 2,000 with no subscription, and credits never expire. Get 25 free API renders a month
What size should a GitHub social preview be? GitHub recommends at least 640×320 and suggests 1280×640 for the best display. Keep it under 1 MB (PNG, JPG or GIF).
Why doesn't my new image show up? X, Slack and LinkedIn cache link previews. Re-share after a while, or use the platform's own post inspector to refresh it.
Do I need an account? No. The card is built in your browser and rendered once on our server. We don't store your text or logo.
Related: code to image for snippets in your README or launch post, website thumbnails for your project's site, quote to image for testimonials.