Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 17, 2026·3 min de lecture

GitHub Readme Stats — Dynamic Stats Cards for Your Profile

Generate dynamically rendered GitHub statistics cards for your README profile using GitHub API data and SVG rendering.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Stage only · 29/100Stage only
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
GitHub Readme Stats Overview
Commande CLI universelle
npx tokrepo install ef145652-51ea-11f1-9bc6-00163e2b0d79

Introduction

GitHub Readme Stats renders live statistics about your GitHub activity as embeddable SVG cards. It pulls data from the GitHub GraphQL API and generates visually appealing widgets showing stars, commits, PRs, issues, and language breakdowns directly in any Markdown file.

What GitHub Readme Stats Does

  • Generates real-time stats cards (total stars, commits, PRs, issues, contributions)
  • Renders top-languages cards with multiple layout options (compact, donut, pie)
  • Provides repository pin cards for showcasing specific projects
  • Supports WakaTime integration for coding activity tracking
  • Offers streak stats for contribution consistency visualization

Architecture Overview

The project runs as a Vercel serverless function. Each request hits a Node.js handler that authenticates with the GitHub GraphQL API using a personal access token, fetches user statistics, applies theme and layout parameters, then returns a dynamically rendered SVG image with appropriate cache headers.

Self-Hosting & Configuration

  • Deploy to Vercel with one click using the provided deploy button
  • Set GITHUB_TOKEN environment variable for API authentication
  • Configure PAT_1 for higher rate limits on self-hosted instances
  • Customize cache duration via the cache_seconds query parameter
  • Support for multiple GitHub tokens via comma-separated PAT values

Key Features

  • 30+ built-in themes (radical, merko, gruvbox, tokyonight, etc.)
  • Fully customizable colors, borders, icons, and card dimensions
  • Automatic language exclusion and card hiding options
  • Internationalization with 40+ locale translations
  • Responsive SVG output that works in any Markdown renderer

Comparison with Similar Tools

  • GitHub Profile Trophy — focuses on achievement trophies rather than stats
  • Metrics (lowlighter) — more comprehensive but heavier setup with GitHub Actions
  • Socialify — project-level social cards, not user statistics
  • Repobeats — analytics for individual repositories, not user profiles

FAQ

Q: Why does my stats card show incorrect commit counts? A: By default only public commits count. Add count_private=true parameter or enable private contributions in GitHub settings.

Q: Can I use this without deploying my own instance? A: Yes, the default Vercel deployment at github-readme-stats.vercel.app is free to use with query parameters.

Q: How do I hide specific languages from the top-langs card? A: Use the hide parameter: ?hide=html,css,jupyter%20notebook to exclude languages.

Q: What is the rate limit for the default instance? A: The shared instance handles thousands of requests per hour with aggressive SVG caching.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires