How surendar-s290707/chessie works
Chessie is a Flask-based personal chess analytics application. A player submits a Chess.com username and filters; the server fetches matching games, parses their PGNs, computes opening and behavioral summaries, and renders an interactive report. Opening lookup uses the bundled TSV book. The code also exposes position-tree and next-move exploration. The excerpts show the main analysis and parts of the web flow; details of omitted routes and the template’s wiring are uncertain, so those connections are not inferred.
Main entry points: app.py Web routes · chessie.py PGN game analysis · openings.py Opening identification · position_tree.py Position tree
Components 13
Web interface
- Web routes
app.py - Interactive report
app.py - Report charts
app.py
Game analysis
- Game retrieval and filters
chessie.py - PGN game analysis
chessie.py - Opening identification
openings.py - Opening statistics
chessie.py - Behavior metrics
chessie.py
Position exploration
- Position tree
position_tree.py - Next-move counts
explorer.py
Opening reference
- Opening reference data
a.tsv
Other components
- Chess player
- Chess.com API
Connections 12
- Chess player → Web routes: submits filters
- Web routes → Game retrieval and filters: requests analysis
- Game retrieval and filters → Chess.com API: fetches archives
- Game retrieval and filters → PGN game analysis: passes games
- PGN game analysis → Opening identification: matches moves
- Opening identification → Opening reference data: reads book
- PGN game analysis → Opening statistics: aggregates results
- PGN game analysis → Behavior metrics: computes metrics
- Web routes → Interactive report: renders results
- Interactive report → Report charts: displays statistics
- Web routes → Position tree: builds tree
- Web routes → Next-move counts: requests move counts