Pick your cards

charts lists the cards to render; each becomes its own file named after the card, such as streak.svg, or a tile of the dashboard. The default is activity, langs, streak and summary, and review adds a ready-made set of six. Card options live under cards, and the most common ones are also CLI flags and Action inputs.

yaml
charts: [streak, summary, langs, calendar]

cards:
  langs:
    style: donut

Activity

An area chart of contributions per day over the last days days of the calendar window (7 to 365).

Contributions per day

Contributions per day

The default: the area with a dashed average line. show_average: false hides the line and fill_opacity sets how solid the area is.

yaml
charts: [activity]

cards:
  activity:
    days: 30
    show_average: true
    fill_opacity: 0.15
Grid and points

Grid and points

show_grid adds four horizontal grid lines and show_points a dot for every day. Both are off by default.

yaml
cards:
  activity:
    show_grid: true
    show_points: true

Languages

Your most used languages by share of code, or by coding time with WakaTime. count shows 1 to 12 languages and exclude hides languages by name.

Bar

Bar

The default: one row per language with a bar and its share.

yaml
cards:
  langs:
    style: bar
    count: 6
    exclude: [HTML, CSS]
Donut

Donut

A donut chart with up to six languages and their shares.

yaml
cards:
  langs:
    style: donut
Compact donut

Compact donut

Names on the left, a larger donut on the right and a short title without the username.

yaml
cards:
  langs:
    style: donut-compact

Streak

Contributions in the window, the current streak and the longest streak with their dates, counted in calendar.timezone. show picks which of total, current and longest appear; they keep this order. range: all-time counts the total and the streaks over every contribution year on GitHub; other providers stay in the calendar window.

Daily streak

Daily streak

The default mode: daily: a day without contributions ends the streak, except today and the weekdays in exclude_days, such as [sat, sun]. A rolling window keeps a streak alive across New Year.

yaml
charts: [streak]

calendar:
  mode: rolling
Weekly streak

Weekly streak

mode: weekly counts weeks from Monday to Sunday with at least one contribution, so a quiet day never ends the streak. An empty current week does not end it either.

yaml
cards:
  streak:
    mode: weekly
    show: [current, longest]

Summary

Up to six numbers with icons, in the order you list them in metrics: stars, commits, prs, issues, reviews and followers.

Profile numbers

Profile numbers

The default card: your stars, and the commits, pull requests, issues and reviews in the calendar window.

yaml
cards:
  summary:
    metrics: [stars, commits, prs, issues, reviews]
Rank

Rank

show_rank: true adds a ring with a rank from S to C, calculated with the github-readme-stats formula from the same commits, pull requests, issues and reviews, your stars and followers. rank_style: percentile shows the top percentage instead of the grade.

yaml
cards:
  summary:
    show_rank: true
    rank_style: grade

Productive time

Activity by hour

Activity by hour

When you are active during the day, in calendar.timezone, with 12h or 24h labels. On GitHub it reads the public events API, which returns at most 300 events from the past 90 days, so this card shows recent public activity.

yaml
charts: [productive-time]

cards:
  productive_time:
    hour_format: 24h

Weekly rhythm

Activity by weekday and hour

Activity by weekday and hour

A dot for every hour of every weekday; the busier the hour, the larger and brighter the dot. week_start puts monday (the default) or sunday in the first row, and hour_format sets 12h or 24h labels. On GitHub it reads the same public events as the productive-time card: at most 300 from the past 90 days.

yaml
charts: [punch-card]

cards:
  punch_card:
    hour_format: 12h
    week_start: monday

Calendar

Contribution heatmap

Contribution heatmap

The last weeks weeks up to today (1 to 53), colored with the four theme levels, with localized month and weekday labels. At the default width the card fits 50 weeks; raise width to show all of them.

yaml
cards:
  calendar:
    weeks: 52
    show_months: true

3D calendar

Isometric contribution calendar

Isometric contribution calendar

The last weeks weeks up to today (4 to 53, default 26) as isometric bars: the height follows the contributions of the day and the color its calendar level. show_stats adds the total contributions, the current streak and the best day on the right; show_stats: false gives the bars the full width.

yaml
charts: [calendar-3d]

cards:
  calendar_3d:
    weeks: 26
    show_stats: true

Profile details

Totals and monthly chart

Totals and monthly chart

Contributions and commits in the window, the most used language and followers with repositories, next to a chart of contributions per month. show_chart: false hides the chart. Providers without followers show stars and pull requests instead.

yaml
charts: [profile-details]

cards:
  profile_details:
    show_chart: true

Profile card

Name and avatar

Name and avatar

Your name, username and avatar with followers, repositories, stars, contributions and the top language. The avatar is embedded in the SVG, so the card loads nothing else.

yaml
charts: [profile-card]

cards:
  profile_card:
    show_avatar: true

Trophies

S, A and B ranks

S, A and B ranks

Trophies for stars, commits, followers, pull requests, issues, reviews, the longest streak, the number of languages and contributions. Only earned ranks are drawn; max limits how many and columns sets how many fit in a row (both 1 to 9).

yaml
charts: [trophy]

cards:
  trophy:
    columns: 6
    max: 6

Repositories

Pinned or most starred

Pinned or most starred

Up to six repositories (count, default 4) in one or two columns, each with its description, language, stars and forks. source: pinned (the default) puts your GitHub pins first and fills up with the most starred repositories; top sorts them all by stars, and other providers always sort by stars. show_owner writes owner/name, and description_lines keeps 0 to 3 lines of the description. The repository scope decides which repositories take part.

yaml
charts: [repos]

cards:
  repos:
    source: pinned
    count: 4
    columns: 2
    description_lines: 2

Coding time

Five cards built from WakaTime or Wakapi data. They say that there is no coding time yet when no source provides it.

Coding time

Coding time

Total time in the window, the average of active days and the best day, above bars for the last days days (7 to 90).

yaml
charts: [coding-time]

cards:
  coding_time:
    days: 14
Languages

Languages

Languages ranked by coding time. coding_list.count shows 1 to 10 rows on all four list cards.

yaml
charts: [coding-languages]

cards:
  coding_list:
    count: 6
Editors

Editors

Editors and IDEs ranked by coding time.

yaml
charts: [coding-editors]
Operating systems

Operating systems

Operating systems ranked by coding time.

yaml
charts: [coding-os]
Projects

Projects

Projects ranked by coding time.

yaml
charts: [coding-projects]

Profile views

Counts how many times your README was opened. Counting needs state, so it works only on a card server: every request for views.svg adds one. generate and the Action cannot count, so they render the start value (0 by default); demo and the playground show demo numbers.

Badge

Badge

The default: a compact badge sized to its text, with label on the left and the count on the right. The count color is picked for contrast with the theme accent. start adds a number to the count, for example the total of a counter you are leaving, and svg.number_format writes 12.8K or 12,847. width and height do not apply.

yaml
charts: [views]

cards:
  views:
    style: badge
    label: Profile views
    start: 0
Card

Card

style: card draws a 460 × 130 card with the total, today, the last seven days and a 14-day line. label or title replaces the heading, and the frame, theme and animation options work as on every card.

yaml
cards:
  views:
    style: card

Card titles

Every card that draws a heading takes title (up to 80 characters) to replace it, with the same placeholders as frame_title. hide_title: true removes the heading and the space it takes, so the card gets shorter.

Custom title

Custom title

The calendar card with a title filled in from your stats.

yaml
cards:
  calendar:
    title: "{total} contributions · {active_days} active days"

svg.hide_title: true hides the heading on every card, and a card's own hide_title takes priority. The summary, streak and profile cards have no heading, so title does not change them.

Sizes

Every card takes width (200 to 1200) and height (80 to 400) under its cards key. A frame title or a window bar adds its own strip above the card. The coding list cards share cards.coding_list.

Card options Default size
cards.activity 460 × 160
cards.langs 460 × 160
cards.streak 460 × 130
cards.summary 460 × 120
cards.productive_time 460 × 160
cards.punch_card 460 × 200
cards.calendar 460 × 130
cards.calendar_3d 460 × 240
cards.profile_details 700 × 200
cards.profile_card 480 × 200
cards.trophy 600 × 180
cards.repos 460 × 220
cards.coding_time 460 × 160
cards.coding_list 460 × 180
cards.views 460 × 130
yaml
cards:
  calendar:
    width: 700
    height: 150
    weeks: 53