Generate a browsable, per-federation mirror of the official FIDE rating lists. The script downloads the latest Standard, Rapid, and Blitz rating ZIPs from FIDE, splits the data by federation, exports TXT/CSV/JSON (and zipped variants), and builds an index.html to explore the results. The site is published to GitHub Pages.
- Split official FIDE rating lists by federation (e.g.,
USA,VIE,IND). - Export each federation and rating type to TXT, CSV, JSON, plus
.ziparchives. - Export Parquet (
.parquet) for each federation and rating type (no zip). - Auto-generate an
index.htmlto browse and download files. - Automated CI to generate, commit with "[skip ci]", and deploy to GitHub Pages.
- Standard:
http://ratings.fide.com/download/standard_rating_list.zip - Rapid:
http://ratings.fide.com/download/rapid_rating_list.zip - Blitz:
http://ratings.fide.com/download/blitz_rating_list.zip
The generator writes everything under ./data and produces an index.html at the site root (deployed from the data directory):
data/
index.html
USA/
standard/
standard.txt
standard.txt.zip
standard.csv
standard.csv.zip
standard.json
standard.json.zip
standard.parquet
rapid/
...
blitz/
...
VIE/
standard/
...
...
- Node.js 20+ (ESM/"type": "module")
- Install dependencies:
npm ci- Run the generator:
node src/index.mjs- Preview the output locally:
- Open
data/index.htmlin your browser, or - Serve the folder locally, e.g.:
- Open
cd data && python3 -m http.server 8000
# then visit http://localhost:8000- Workflow:
.github/workflows/static.yml- Triggers on pushes to
main, a manual dispatch, and a schedule. - Sets up Node 20 with npm cache, installs deps, and runs
node src/index.mjs. - Commits any changes to
data/with messagechore: update generated data [skip ci]to avoid CI loops. - Uploads
./dataas the Pages artifact and deploys to GitHub Pages.
- Triggers on pushes to
Published site: https://samuraitruong.github.io/fide-ratings-utils/
- To change sources or add new rating types, edit
ratingSourcesinsrc/index.mjs. - The index page layout is rendered from
src/index.template.htmlusing Handlebars.
- Source data and formats are defined by FIDE; fields may change over time.
- Be considerate of FIDE servers; this project includes a schedule to limit runs.
MIT
Data provided by FIDE (ratings.fide.com). This project is not affiliated with FIDE.