This post is also available in 中文.
GitHubCard Usage Tips
A practical walkthrough of the widgets and canvas sizes that work best in GitHub READMEs, blogs, and social shares.
Tip 01 — Comprehensive Stats widget
This widget summarizes your overall GitHub output: stars earned, commits, pull requests, issues, and repository count. Most developers pick the vertical layout because it scans cleanly in narrow README columns—similar to the classic github-readme-stats card, but styled to match the rest of your canvas.
GitHub Banner
700 × 200
Tip 02 — Streak widget
The Streak widget tracks consecutive contribution days alongside your longest streak and total contributions. It pairs well with the Comprehensive Stats banner when you want to highlight day-to-day consistency.
GitHub Banner
700 × 200
Tip 03 — Language widget
The Language widget breaks down the programming languages across your public repositories. You can switch between three layouts depending on how much space you have on the canvas: Ranked Bar, Stacked Bar, and Donut.
- Donut layout:
GitHub Compact
340 × 200
- Ranked Bar layout:
GitHub Compact
340 × 200
Tip 04 — TopRepo widget
Instead of pinning six separate repository cards, use the TopRepo widget to list your highest-starred projects inside a single frame. It comes in three layouts:
- List layout (best when repo descriptions matter):
Minimal
800 × 400
- Grid layout (two-column overview):
Minimal
800 × 400
- Compact layout (fits in a sidebar or two-column README table):
GitHub Compact
340 × 200
Tip 05 — Embed Beyond Your GitHub README
Cards are standard SVG and PNG URLs, so they work anywhere images or iframes are supported: personal blogs, Notion pages, online resumes, or portfolio sites. See How to Embed Your GitHub Profile on Any Website for copy-and-paste HTML and React snippets, or browse real developer blogs using GitHubCard.
Tip 06 — Use Your Link as a Social Preview
When you share https://githubcard.com/<username> or https://githubcard.com/<owner>/<repo> on Twitter/X, LinkedIn, or Reddit, platforms automatically pull your 1200 × 630 Open Graph card preview—no manual screenshots required.
Tip 07 — Combine Widgets on One Canvas
Every widget above can live on the same artboard. Start from an OG Standard (1200 × 630) canvas, drop in your avatar, stats, languages, contribution heatmap, and top repositories, and publish a single image URL:
OG Standard (
1200 × 630)
Try It on Your Profile
Open the GitHub profile card generator or the GitHub repo card generator to test these layouts with your own GitHub username.
GitHubCard Team
Turn this into a card
Turn the ideas from this article into an editable GitHub profile card, repo card, or README section.