Open source · GitHub Action · CLI

Your profile stats, drawn as cards.

profile-graphics turns your commits, streaks and languages into README-ready cards. Pick a theme and let CI refresh them every day.

octocat / README.md Live
Streak, summary, languages and calendar cards in the GitHub Dark theme
Preview theme

Runs wherever you ship code

  • GitHub Actions
  • GitLab CI
  • npm
  • CLI
  • Node.js 22+
46 built-in themes
18 card types
3 output formats
30 card languages

Cards

One engine for every card

Every card reads the same stats, so you can mix them freely or combine them into one dashboard image.

Summary

Pipeline

From commits to README in one job

Everything runs inside your CI. Tokens never leave it and the result is a set of plain static files.

  1. Schedule Cron or manual dispatch
  2. Fetch GitHub, GitLab, Codeberg or WakaTime
  3. Render Cards, frames and translations
  4. Export SVG, PNG or WebP
  5. Publish Branch, Pages or artifact

Features

Everything a profile README needs

Runs where your code lives

GitHub Action, GitLab CI or any CI with Node.js 22. No servers and no third-party services.

Follows the viewer's theme

Auto mode ships light and dark palettes in one SVG and switches with prefers-color-scheme.

46 themes, or your own

The same themes as profile-snake, from GitHub and GitLab to Dracula and Synthwave, plus custom palettes.

SVG, PNG and WebP

README-safe SVG with no scripts, plus raster files and one dashboard image when you need them.

Cards in 30 languages

Labels, numbers and dates follow calendar.locale, from English and Chinese to Arabic and Hebrew drawn right to left.

Accessible by default

Every card has a title and description, and the frame can carry a caption built from your stats.

Setup

Up and running in three steps

  1. Add the workflow

    Create .github/workflows/profile-graphics.yml. It regenerates the cards every night.

    .github/workflows/profile-graphics.yml
    name: Generate profile graphics
    
    on:
      schedule:
        - cron: "0 0 * * *"
      workflow_dispatch:
    
    jobs:
      generate:
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
          - uses: actions/checkout@v7
          - uses: mikhailkhorokhorin/profile-graphics@v1
            with:
              user: ${{ github.repository_owner }}
              token: ${{ secrets.GITHUB_TOKEN }}
              charts: streak,summary,langs,calendar
              publish_branch: output
  2. Pick the cards

    profile-graphics.yml is optional. Every option has a sensible default.

    profile-graphics.yml
    charts: [streak, summary, langs, calendar]
    
    calendar:
      mode: rolling
    
    theme:
      mode: auto
      native: true
  3. Embed them

    Reference the generated files from your profile README.

    README.md
    ![Streak](https://raw.githubusercontent.com/<user>/<user>/output/streak.svg)
    ![Summary](https://raw.githubusercontent.com/<user>/<user>/output/summary.svg)
    ![Languages](https://raw.githubusercontent.com/<user>/<user>/output/langs.svg)
    ![Calendar](https://raw.githubusercontent.com/<user>/<user>/output/calendar.svg)

Themes

46 themes, or bring your own palette

Every preview is a real SVG rendered by the same engine that runs in your CI.

GitHub Dark
GitHub Dark
Dracula
Dracula
Tokyo Night
Tokyo Night
Nord
Nord
Catppuccin
Catppuccin
Gruvbox Dark
Gruvbox Dark
Rose Pine
Rose Pine
Solarized Light
Solarized Light

Tune it before you commit

The playground runs the real engine in your browser. No tokens, no install.