Back to Trending
RepositoryJavaScript
stats-organization

stats-organization/github-readme-stats-action

GitHub Action to generate GitHub Readme Stats cards.

334stars
40forks
1issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: github-profile

#1 Repository of the week

1
TINIX TRENDING·Topic: cards

#1 Repository of the week

1
TINIX TRENDING·Topic: github-stats

#1 Repository of the week

GitHub Readme Stats Action

Generate GitHub Readme Stats cards in your GitHub Actions workflow, commit them to your profile repository, and embed them directly from there.

Quick start

name: Update README cards

on:
  schedule:
    - cron: "0 0 * * *" # Runs once daily at midnight
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    permissions:
      contents: write

    steps:
      - uses: actions/checkout@v6

      - name: Generate stats card
        uses: stats-organization/github-readme-stats-action@v2
        with:
          card: stats
          options: username=${{ github.repository_owner }}&show_icons=true
          path: profile/stats.svg
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: Generate top languages card
        uses: stats-organization/github-readme-stats-action@v2
        with:
          card: top-langs
          options: username=${{ github.repository_owner }}&layout=compact&langs_count=6
          path: profile/top-langs.svg
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: Generate pin card
        uses: stats-organization/github-readme-stats-action@v2
        with:
          card: pin
          options: username=stats-organization&repo=github-readme-stats
          path: profile/pin-stats-organization-github-readme-stats.svg
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: Commit cards
        run: |
          git config user.name "github-actions[bot]"
          git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
          git add profile/*.svg
          git commit -m "Update README cards" || exit 0
          git push

Then embed from your profile README:

![Stats](./profile/stats.svg)
![Top Languages](./profile/top-langs.svg)
![Pinned](./profile/pin-stats-organization-github-readme-stats.svg)

Deployment options

This action is a recommended deployment option. You can also use our public GitHub-Stats-Extended instance or deploy one yourself.

Inputs

  • card (required): Card type. Supported: stats, top-langs, pin, wakatime, gist.
  • options: Card options as a query string (key=value&...) or JSON. If username is omitted, the action uses the repository owner.
  • path: Output path for the SVG file. Defaults to profile/<card>.svg.
  • token: GitHub token (PAT or GITHUB_TOKEN). For private repo stats, use a PAT with repo and read:user scopes. For any gist, use a PAT with gist scope.
  • core_version: Version of GitHub Stats Extended to use internally. When omitted, the action uses the latest 2.x.x version.

Outputs

  • path: Path where the SVG file was written, relative to the workspace.

Examples

Stats example:

with:
  card: stats
  options: username=octocat&show_icons=true&hide_rank=true&bg_color=0D1117
  token: ${{ secrets.GITHUB_TOKEN }}

Top languages example:

with:
  card: top-langs
  options: username=octocat&layout=compact&langs_count=6
  token: ${{ secrets.GITHUB_TOKEN }}

WakaTime example:

with:
  card: wakatime
  options: username=octocat&layout=compact
  token: ${{ secrets.GITHUB_TOKEN }}

Gist example:

with:
  card: gist
  options: id=0123456789abcdef
  token: ${{ secrets.PAT }}

JSON options example:

with:
  card: stats
  options: '{"username":"octocat","show_icons":true,"hide_rank":true}'
  token: ${{ secrets.GITHUB_TOKEN }}

Version-pinned example:

with:
  card: stats
  options: username=octocat&show_icons=true
  core_version: 2.1.3
  token: ${{ secrets.GITHUB_TOKEN }}

Notes

Similar Projects

Discover other similar projects and AI models.

RepositoryPHP
DenverCoder1/github-readme-streak-stats

🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README

7.2k
Nov 26, 2026
RepositoryTypeScript
gitranks/gitranks-ui

GitHub rankings, analytics and README badges for developers, repositories and organizations.

533
Nov 29, 2026
RepositoryTypeScript
kgnio/github-profile-stats-card

Customizable GitHub profile stats card generator. Create dynamic SVG cards for GitHub Profile READMEs with multiple themes — no setup required.

156
Nov 24, 2026
RepositoryPython
cicirello/user-statistician

Generate a GitHub stats SVG for your GitHub Profile README in GitHub Actions

137
Nov 28, 2026
RepositoryJavaScript
lowlighter/metrics

📊 An infographics generator with 30+ plugins and 300+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!

17.5k
May 29, 2026
RepositoryJavaScript
nolimits4web/atropos

Stunning touch-friendly 3D parallax hover effects

3.6k
Oct 6, 2026
RepositoryJavaScript
nextcloud/deck

🗂 Kanban-style project & personal management tool for Nextcloud, similar to Trello

1.4k
Nov 26, 2026
RepositoryJavaScript
elangosundar/awesome-README-templates

A collection of awesome readme templates to display on your github profile.

1.1k
Mar 12, 2024
RepositoryJavaScript
VishwaGauravIn/github-profile-readme-maker

🏆 Best Profile Generator, Create your perfect GitHub Profile ReadMe in the best possible way. Lots of features and tools included, all for free ! 💫

1.0k
Apr 12, 2026