https://github.com/ruslanbes/chessmetrics
Chessmetrics is a website that calculates and shows cool metrics of a chess position. Also included as browser extensions: position visualizers for lichess and chess.com
https://github.com/ruslanbes/chessmetrics
chess extension-chrome extension-firefox userscript
Last synced: about 2 months ago
JSON representation
Chessmetrics is a website that calculates and shows cool metrics of a chess position. Also included as browser extensions: position visualizers for lichess and chess.com
- Host: GitHub
- URL: https://github.com/ruslanbes/chessmetrics
- Owner: ruslanbes
- License: apache-2.0
- Created: 2025-10-10T08:25:07.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-15T18:14:37.000Z (8 months ago)
- Last Synced: 2026-05-04T08:38:10.755Z (about 2 months ago)
- Topics: chess, extension-chrome, extension-firefox, userscript
- Language: TypeScript
- Homepage:
- Size: 271 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chessmetrics
A chess position analysis API server that calculates various metrics for chess positions. Provides them via REST API and browser userscript.
## Purpose
Chessmetrics analyzes chess positions and returns calculated metrics like how many pieces attack a certain square from both sides, is the piece hanging, is the piece pinned, and so on. It can run as a standalone API server and can also be installed as a browser userscript for chess.com and lichess.org and run inside the browser.
## Components
- **API Server**: REST API for chess position analysis
- **Browser Userscript**: Client-side integration for chess websites
- **Metrics Engine**: Extensible system for calculating chess metrics
## Quick Start
```bash
npm install
npm run dev
curl "http://localhost:3000/api/v1/standard/fen/rnbqkbnr%2Fpppppppp%2F8%2F8%2F8%2F8%2FPPPPPPPP%2FRNBQKBNR%20w%20KQkq%20-%200%201"
```
## Documentation
- [API Documentation](docs/adr-007-api-design.md)
- [Source Code](src/README.md)
- [Userscript](userscript/README.md)
- [Architecture Decisions](docs/)