Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

272 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chess-readme-status

Chess.com stats for your GitHub profile, auto-updated via Actions — no server required.

Chess Stats

Features

  • Free — GitHub Actions + static SVG, no server
  • Auto-updates — runs every 6 hours
  • 8 styles — premium, editorial, wood, tech, glass, piece, light, light-editorial
  • 3 card types — summary (all 4 modes), line chart, hero card
  • 72 SVGs — all styles × all card types generated automatically

Quick Start

1. Fork this repository

2. Set your username

Settings → Secrets and variables → Actions → Variables

Name Value
CHESS_USERNAME your Chess.com username

3. Run the workflow

Actions → Update Chess.com Stats → Run workflow

4. Add to your README

![Chess Stats](https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats.svg)

URL pattern

chess-stats.svg                          # summary, premium dark (default)
chess-stats-{style}.svg                  # summary, other style
chess-stats-{mode}.svg                   # line chart, premium dark
chess-stats-{mode}-{style}.svg           # line chart, other style
chess-stats-{mode}-hero.svg              # hero card, premium dark
chess-stats-{mode}-hero-{style}.svg      # hero card, other style

{mode}: blitz · rapid · bullet · daily

{style}: editorial · wood · tech · glass · piece · light · light-editorial

(omit style for the default premium dark)


Styles

Premium (default) — #8ac054

![](https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats.svg)

Premium summary

Editorial — #d8a24a

Editorial summary

Tech/Data — #48d1ae

Tech summary

Glass Depth — #8098ff

Glass summary

Classic Wood — #e7bd6b

Wood summary

Piece Hero — #9bd35e

Piece summary

Light — #5f8f37

Light summary

Light Editorial — #a9762a

Light editorial summary


Card types

Summary (840×200) — all 4 modes in one strip

![](https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats.svg)

Line chart (470×210) — rating history per mode

![](https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats-blitz.svg)
Blitz line    Rapid line

Hero card (340×210) — single mode with piece

![](https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats-blitz-hero.svg)
Blitz hero   Rapid hero   Bullet hero

Usage examples

Summary + two line charts

<div align="center">
  <img src="https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats.svg" alt="Chess Stats" />
  <br/>
  <img src="https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats-blitz.svg" alt="Blitz" width="45%" />
  &nbsp;&nbsp;
  <img src="https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats-rapid.svg" alt="Rapid" width="45%" />
</div>

Hero cards side by side (glass style)

<div align="center">
  <img src="https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats-blitz-hero-glass.svg" />
  &nbsp;
  <img src="https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats-rapid-hero-glass.svg" />
</div>

Clickable card

<a href="https://www.chess.com/member/YOUR_CHESS_USERNAME">
  <img src="https://raw.githubusercontent.com/YOUR_USERNAME/chess_readme_status/main/assets/chess-stats.svg" />
</a>

Updates

Stats are fetched from the Chess.com public API and regenerated every 6 hours via GitHub Actions (cron: "0 */6 * * *"). You can also trigger manually via Actions → Run workflow.


Local development

git clone https://github.com/your-username/chess_readme_status.git
cd chess_readme_status
npm install
CHESS_USERNAME=your_username /usr/bin/node scripts/generate-svg.js

License

MIT — see LICENSE

About

A readme status that display chess.com rating stats, such as rapid, blitz, bullets and daily modes, with different templates.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages