GitHub Repo Card

by @vibehat

Showcase GitHub repositories with live stats and beautiful card designs.

42 stars 18 forks 1.2K views Updated today
Try in Playground

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

![repo](https://mdit.run/repo?repo=vibehat/mdit)
Preview

Dark theme with custom stats

![repo](https://mdit.run/repo?repo=vibehat/mdit&theme=dark&stats=stars,forks)
Preview

Minimal card

![repo](https://mdit.run/repo?repo=vibehat/mdit&show_owner=false&stats=stars)
Preview