Repository navigation
Releases
Chess Database API v0.2.0
Chess Database API v0.2.0
This release adds game, player and event discovery, position and continuation search, filtered Opening Explorer statistics, snapshot-bound pagination and portable search companions. The canonical executable and image name are chess-database and chess-database-api; the documented legacy CLI, environment and network aliases remain available. The software is licensed under MIT OR Apache-2.0.
The release is built from reviewed revision 7caff4315a43e71e509707b8126b893f7abbe815. Existing CGB3/v1 shards, CPI/v2 indexes, games.idx, stable game IDs and canonical datasets remain compatible. The corresponding canonical releases are Masters OTB R3 and Elite Online R1; their separately versioned search companions are Masters D40 and Elite D30. Masters discovery and search metadata remain disabled by default. Dataset licensing and attribution are separate from the software license.
Linux x86-64 installation
Download chess-database-linux-amd64, chess-database-api-v0.2.0-linux-amd64.docker.tar.gz, chess-database-v0.2.0-manifest.json, LICENSE-MIT, LICENSE-APACHE and SHA256SUMS into the same directory, then run sha256sum -c SHA256SUMS. For the CLI, run chmod +x chess-database-linux-amd64 and invoke it directly. The dynamically linked binary requires the x86-64 loader, libgcc_s.so.1, and glibc providing symbols through GLIBC_2.34; that symbol floor does not guarantee compatibility with every Linux distribution.
For the container, run docker load -i chess-database-api-v0.2.0-linux-amd64.docker.tar.gz. This loads chess-database-api:release-v0.2.0. Set CHESS_DATABASE_IMAGE=chess-database-api:release-v0.2.0 and follow the Docker deployment guide, using docker compose up -d --no-build after configuring dataset mounts. This is a Docker image archive, not a registry image. Only Linux x86-64 artifacts are supplied; GitHub also provides source archives for the tag.
For existing CPI-only datasets, retain the original snapshot, install the matching verified search companion, then reload and check collection capabilities. See dataset releases and rollback and Search API and Evalis handoff.
Acceptance and limits
Native legacy warm and eviction-advised comparisons passed the original timing and identity gates with client and server on separate physical cores. The host was shared, eviction was best-effort, and earlier noisy failures remain recorded. Two-collection native Docker testing passed startup, discovery, mixed-traffic, reload, rollback and feature-control checks at 512 MiB and two CPUs; some filtered searches returned busy responses under concurrent load. Full-game positional indexing remains a future optional companion and is not part of the D40/D30 releases.
Masters OTB R3 D40 search companion
Masters OTB R3 search companion (40-ply coverage)
This derived companion augments the existing dataset-masters-otb-r3 canonical dataset. It does not replace its shards, CPI, game index, PGN export or provenance. Search index format 1 covers 3,284,429 games, 54,827,221 positions and 130,852,249 occurrences. Its canonical fingerprint is 7e451a13737bad29a3d9ccab2eb30458a2be169468f827d0bc473181523b77e0.
Non-commercial distribution is subject to the attached attribution notice and the recorded unresolved upstream-rights and publisher-terms disclosures. Masters discovery remains disabled by default.
Use Chess Database API 0.2.0 or a compatible build that supports search-index format 1. Verify the attached search-masters-otb-r3-d40-v1.json against the reviewed repository manifest and check SHA256SUMS. For a split archive, concatenate the numbered parts in order and verify the reconstructed archive against the manifest before extraction. Follow the companion verification and installation guide, including its rollback procedure. A compatible installed canonical dataset does not need to be downloaded again.
Archive masters-otb-r3-d40-search-v1.tar.zst: 2,446,907,948 bytes; SHA-256 8d25cc01d0e4dad36f41b370a31bc8966d8d92525516ee2e6cefc40669e75a14.
masters-otb-r3-d40-search-v1.tar.zst.part-001— 1,992,294,400 bytes; SHA-256f7fe0e1e70948390493830d25cf0427c1fd29558996fd12618cf5cab9f78ec72masters-otb-r3-d40-search-v1.tar.zst.part-002— 454,613,548 bytes; SHA-25617dac76e74c734cd8a75a7f195a8d4594210a184ca545b3b2bcfe1352fb7fefd
The release also includes search-masters-otb-r3-d40-v1.json, masters-otb-r3-d40-search-v1-NOTICE.md and SHA256SUMS. Consult the manifest for artifact hashes, source snapshot, compatibility and coverage details.
Install the verified companion
Install the matching canonical dataset first, or use an existing compatible installation. Download all assets from this release, then run the following in the download directory (replace the dataset path):
set -e
sha256sum -c SHA256SUMS
cat masters-otb-r3-d40-search-v1.tar.zst.part-001 masters-otb-r3-d40-search-v1.tar.zst.part-002 > masters-otb-r3-d40-search-v1.tar.zst
printf '%s %s\n' '8d25cc01d0e4dad36f41b370a31bc8966d8d92525516ee2e6cefc40669e75a14' 'masters-otb-r3-d40-search-v1.tar.zst' | sha256sum -c -
mkdir -p extracted
tar --zstd -xf masters-otb-r3-d40-search-v1.tar.zst -C extracted
chess-database install-search-index --dataset /path/to/masters-otb --bundle extracted/masters-search-bundle
chess-database verify-search-index --dataset /path/to/masters-otbRetain the original CPI-only version for rollback.
Elite Online R1 D30 search companion
Elite Online R1 search companion (30-ply coverage)
This derived companion augments the existing dataset-elite-online-r1 canonical dataset. It does not replace its shards, CPI, game index, PGN export or provenance. Search index format 1 covers 429,150 games, 6,558,404 positions and 13,191,619 occurrences. Its canonical fingerprint is 431595228cdcfed941c5d3542ba38c417014c0a2e76f333b912c149cf7d2fcac.
The underlying Lichess sources are dedicated to the public domain under CC0 1.0. See the attached notice and canonical release for provenance.
Use Chess Database API 0.2.0 or a compatible build that supports search-index format 1. Verify the attached elite-online-r1-d30-search-v1-RELEASE_MANIFEST.json against the reviewed repository manifest and check SHA256SUMS. For a split archive, concatenate the numbered parts in order and verify the reconstructed archive against the manifest before extraction. Follow the companion verification and installation guide, including its rollback procedure. A compatible installed canonical dataset does not need to be downloaded again.
Archive elite-online-r1-d30-search-v1.tar.zst: 269,896,854 bytes; SHA-256 f011e539407ae49c7623a315456696e33ee5e5c4b0477cbca7f655859d6f1cca.
elite-online-r1-d30-search-v1.tar.zst— 269,896,854 bytes; SHA-256f011e539407ae49c7623a315456696e33ee5e5c4b0477cbca7f655859d6f1cca
The release also includes elite-online-r1-d30-search-v1-RELEASE_MANIFEST.json, elite-online-r1-d30-search-v1-NOTICE.md and SHA256SUMS. Consult the manifest for artifact hashes, source snapshot, compatibility and coverage details.
Install the verified companion
Install the matching canonical dataset first, or use an existing compatible installation. Download all assets from this release, then run the following in the download directory (replace the dataset path):
set -e
sha256sum -c SHA256SUMS
printf '%s %s\n' 'f011e539407ae49c7623a315456696e33ee5e5c4b0477cbca7f655859d6f1cca' 'elite-online-r1-d30-search-v1.tar.zst' | sha256sum -c -
mkdir -p extracted
tar --zstd -xf elite-online-r1-d30-search-v1.tar.zst -C extracted
chess-database install-search-index --dataset /path/to/elite-online --bundle extracted/elite-search-bundle
chess-database verify-search-index --dataset /path/to/elite-onlineRetain the original CPI-only version for rollback.
Elite Online R1 — Curated Lichess Games
Dataset notice: elite-online-r1
Dataset and license
Elite Online R1 contains 429,150 canonical games curated from Lichess standard rated archives. The archives are offered under CC0 1.0 Universal; the curated dataset may be redistributed, including commercially, under CC0. The Opening Explorer API software is separately licensed under MIT OR Apache-2.0; those software licenses do not apply to the dataset.
Source: Lichess database exports. This project is not endorsed by Lichess.
Coverage and curation
This release covers selected monthly archives from 2015 through 2017: 2015-09, 2015-12, 2016-03, 2016-06, 2016-09, 2016-12, 2017-03. It is historical coverage, not contemporary Elite Online play.
The source records were filtered under elite-online/2026.11-r2 (both>=2200 or 2400+2000, no bullet/ultrabullet, no casual, standard variant, min 6 plies, excludes explicit aborted or rules-infraction terminations) and deduplicated under v2-verified-prefix. The resulting games were normalized into the Opening Explorer storage format and indexed to 30 plies (6,136,307 positions). The filtered PGN re-serializes the canonical stored games in legal SAN; it is not a byte copy of the source PGN.
Each PGN preserves available names, ratings, date, event, site, round, result, ECO, time control, source URL, and a nonstandard starting FEN where present. Original comments, annotations, variations, clock data, and other source PGN annotations are unavailable after ingestion.
Release identity
- Release:
elite-online-r1 - Dataset build:
codb-elite-online-1794887234132165603-8469-32d007e132ccc048-cpi-d30 - Canonical games: 429,150
- CPI depth: 30 plies
- Unique positions: 6,136,307
The archive checksums and pinned publisher checksums for all seven source archives are listed in the release manifest.
Masters OTB dataset masters-otb-r3
Masters OTB dataset r3
Curated Masters OTB games from Lumbra's Gigabase, as two products of the same corpus. For non-commercial use, with attribution. Dataset version codb-masters-otb-1794774904566910568-6701-5698b67c3952ca6b-cpi-d40; this is a dataset release, independent of software versions.
| Games | 3,284,429 (from 13,450,696 source records) |
| Position index | 51,909,604 unique positions, first 40 plies (CPI v2) |
| Source | Lumbra's Gigabase, OTB Complete, version 2026-11-11 |
| Dataset license | CC BY-NC 4.0 (publisher claim) |
Assets
| Asset | Contents |
|---|---|
masters-otb-r3-indexed.tar.part-001, .part-002 |
Indexed dataset: game storage, games.idx, positions.cpi, attribution sidecar, release record. Concatenate the parts in order to get masters-otb-r3-indexed.tar. |
masters-otb-r3-filtered.pgn.zst |
The same 3,284,429 games as PGN, Zstandard-compressed. One game per stored game, legal mainlines only. |
masters-otb-r3-RELEASE_MANIFEST.json |
Machine-readable manifest: sizes, per-part and whole-product SHA-256, counts, sources. |
masters-otb-r3-SHA256SUMS.txt |
Checksums of every part and of each reconstructed product. |
masters-otb-r3-NOTICE.md |
Dataset notice: attribution, changes made, preserved metadata, source tags. |
Download, verify, install
gh release download dataset-masters-otb-r3 --dir dist/
python3 scripts/release_assets.py verify --manifest releases/masters-otb-r3.json --dist-dir dist/ --committed
python3 scripts/release_assets.py reconstruct --manifest releases/masters-otb-r3.json --dist-dir dist/ --output-dir reconstructed/Run these from a checkout of this repository at the release tag. Installation, serving, and querying are covered in docs/DATASET_RELEASES.md. The filtered PGN is a plain Zstandard stream (zstd -dc masters-otb-r3-filtered.pgn.zst | head).
Licensing and attribution
Required acknowledgment:
Masters OTB games and derived opening statistics from Lumbra's Gigabase, OTB Complete version 2026-11-11 (publisher claim: CC BY-NC 4.0). Curated, filtered, normalized, and indexed by the Opening Explorer API project. Not endorsed by the publisher.
- The data is shared under the publisher's stated CC BY-NC 4.0: non-commercial use only, with attribution and the indication of changes below.
- Changes made: selection under the project's Masters OTB policy, deduplication, re-serialization of each game as a legal mainline with a fixed tag set (comments, variations, and clock data are not kept), and a position index. The PGN is not a byte copy of the source.
- The project does not claim authorship of any game, and the software license (MIT OR Apache-2.0) does not apply to the data. Elite Online is a separate dataset under CC0 and is not part of this release.
- Status of rights. The maintainer distributes this release in reliance on the publisher's public CC BY-NC 4.0 grant. That is the maintainer's interpretation, not separate written permission from the publisher, and the publisher states that some upstream collections have no reliable license information, so rights in individual games are not verified. The publisher's commercial-license page also prohibits end-user bulk exports and raw-PGN downloads in its own terms; its scope for a non-commercial public dataset is not stated. Public, non-commercial deployment of the API, including single-game PGN retrieval, is covered by a separate maintainer decision (
releases/public_deployment_decision.json); commercial use is not covered. The distribution record and conflicts are inreleases/distribution_clearance.jsonand docs/LICENSING.md. - The assets are immutable and keep their build-time wording. The "status at packaging: not_cleared" line in
masters-otb-r3-NOTICE.md, and the "local internal evaluation only" text in the package'sRELEASE/DATASET_LICENSE.txt, predate the distribution decision; these release notes and the clearance record state the current position.
Data notes
- Elo values are the publisher's figures, not verified as official FIDE ratings. OTB status is the publisher's archive-level assertion, not an independent event audit.
- Not preserved: comments, annotations, variations, clock data,
Termination, andMode(absent from every retained game).
Verification
- Published asset digests equal the manifest checksums.
- The PGN's headers were checked for every game against the stored data, and a sample of 205,277 games was fully replayed with python-chess. A reimport of the whole PGN through the project's own parser found 0 illegal or malformed games. Evidence:
benchmarks/gigabase/. - The reconstructed package installs, passes deep verification, and returns API results matching the CLI (for example, 1,469,608 games after
1.e4).