Skip to content

Commit c07e8b1

Browse files
committed
Add metadata
1 parent bb72d7a commit c07e8b1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# FIDE Players Viewer
2+
3+
View the list of FIDE players and their ratings. The source of the data is the [FIDE website](https://ratings.fide.com/download.phtml).
4+
5+
## Architecture
6+
7+
- The data is downloaded from the FIDE website and stored in a SQLite database using `players.py`
8+
- API is built with [Datasette](https://datasette.io/) and published on `fly.io`
9+
- `index.html` is a simple HTML page that uses the API to display the list of players
10+
- The Datasette API is available at [https://fide-players.fly.dev/players](https://fide-players.fly.dev/players)
11+
- The HTML page is available at [https://kamicut.cc/fide-players/](https://kamicut.cc/fide-players/)
12+
- TODO: A Github Action to update the data daily

metadata.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"title": "FIDE Players",
3+
"description": "FIDE player names, ratings, and other information",
4+
"source": "FIDE Ratings list",
5+
"source_url": "https://ratings.fide.com/download.phtml",
6+
"databases": {
7+
"players": {
8+
"tables": {
9+
"players": {
10+
"fts_table": "players_fts",
11+
"fts_pk": "fideid"
12+
}
13+
}
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)