Widget Preview
About this widget
The GitHub Repo Card widget creates beautiful cards showcasing your repository information. It automatically fetches live data from the GitHub API including stars, forks, language, and more. The widget updates automatically, so your stats are always current without needing to regenerate the image.
- Project READMEs
- Portfolio sites
- Documentation pages
- Blog posts about your projects
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| repo | string | Yes | — | GitHub repo in owner/name format |
| theme | enum | No | light | Color theme: light, dark |
| stats | array | No | all | Stats to show: stars, forks, language, issues |
| show_owner | boolean | No | true | Show repository owner avatar and name |
| border_radius | number | No | 12 | Corner radius in pixels |
repo string Required
GitHub repo in owner/name format
theme enum Optional
Color theme: light, dark
Default: light
stats array Optional
Stats to show: stars, forks, language, issues
Default: all
show_owner boolean Optional
Show repository owner avatar and name
Default: true
border_radius number Optional
Corner radius in pixels
Default: 12
Examples
Basic usage
 Preview
Dark theme with custom stats
 Preview
Minimal card
 Preview