Open source
Licences and credits
Stockfish 19
Stockfish is a free, open-source chess engine developed by the Stockfish developers and contributors. It is licensed under the GNU General Public License version 3 (GPL v3).
The browser builds come from stockfish.js, Nathan Rugg's WebAssembly port of Stockfish, which is also licensed under the GPL v3. We serve the “lite” builds of stockfish.js version 19.0.1, exactly as they are published in the stockfish npm package, without modification. The lite builds use a smaller neural network made for Stockfish 19, which the stockfish.js project credits to sscg13. The optional server-side engine in our API uses the same package.
Source code. The complete corresponding source for the engine files is the stockfish.js repository at the v19.0.1 release, which builds on the official Stockfish source code. You are free to use, study, share and modify Stockfish under the terms of the GPL v3.
Files served from this site
- /engines/stockfish-19-lite.js
- /engines/stockfish-19-lite.wasm
- /engines/stockfish-19-lite-single.js
- /engines/stockfish-19-lite-single.wasm
The licence text is served next to them:
/engines/COPYING.txtGNU General Public License, version 3. Also available at gnu.org.
Artwork and fonts
cburnett chess pieces
CC BY-SA 3.0Colin M.L. Burnett
The default Classic piece set, served as individual SVG files from /pieces/cburnett/. Under the same licence, you may reuse them with attribution and share-alike.
Project page for cburnett chess piecesRhosGFX chess pieces
CC0 1.0 (public domain)RhosGFX
The Modern piece set, recoloured to white and grey by Chessblood and served from /pieces/modern/. CC0 asks for nothing, but credit is due.
Project page for RhosGFX chess piecesIBM Plex Sans and IBM Plex Mono
SIL Open Font License 1.1IBM Corp.
The text and monospace typefaces, bundled with the site when it is built.
Project page for IBM Plex Sans and IBM Plex Mono
Data
Lichess puzzle of the day
CC0 (Lichess puzzle database)lichess.org
The daily puzzle in the puzzle trainer is fetched from the Lichess API and labelled as the Lichess puzzle of the day.
Project page for Lichess puzzle of the day
The accuracy figures follow the win-probability and accuracy method that Lichess published in 2022; the accuracy calculator shows the formulas. Game imports use the public Chess.com API and Lichess API.
Libraries in the website
chessground
GPL-3.0-or-laterThibault Duplessis and the lichess.org contributors
The interactive board: dragging and clicking pieces, move animation and right-click arrows.
Project page for chessgroundchess.js
BSD-2-ClauseJeff Hlywa
Move generation, legality checks, PGN and FEN handling in the browser and on the server.
Project page for chess.jsNext.js
MITVercel, Inc.
The web framework the site is built with.
Project page for Next.jsReact and React DOM
MITMeta Platforms, Inc. and affiliates
The user interface library.
Project page for React and React DOMTailwind CSS
MITTailwind Labs, Inc.
Styling.
Project page for Tailwind CSStailwind-merge
MITDany Castillo
Combining style classes without conflicts.
Project page for tailwind-mergeclsx
MITLuke Edwards
Building class names.
Project page for clsxLucide
ISCLucide Icons and Contributors
Icons.
Project page for LucideZod
MITColin McDonnell
Validating input, such as usernames and API requests.
Project page for Zodnext-mdx-remote
MPL-2.0HashiCorp, Inc.
Rendering blog articles written in MDX.
Project page for next-mdx-remoteremark-gfm
MITTitus Wormer
Tables and other GitHub-flavoured Markdown in articles.
Project page for remark-gfmgray-matter
MITJon Schlinkert
Reading article metadata.
Project page for gray-matter
Libraries in the API server
Express
MITTJ Holowaychuk and the Express contributors
The API server.
Project page for ExpressHelmet
MITEvan Hahn and Adam Baldwin
Security headers on API responses.
Project page for Helmetcors
MITTroy Goode
Cross-origin rules for the API.
Project page for corscompression
MITJonathan Ong and contributors
Compressing API responses.
Project page for compressionexpress-rate-limit
MITNathan Friedly and Vedant K
Rate limiting to prevent abuse.
Project page for express-rate-limitdotenv
BSD-2-ClauseScott Motte
Loading server configuration.
Project page for dotenv
Build tools
TypeScript
Apache-2.0Microsoft Corporation
The language the site and API are written in.
Project page for TypeScriptOpenNext for Cloudflare
MITCloudflare, Inc. and the OpenNext contributors
Packaging the site to run on Cloudflare Workers.
Project page for OpenNext for Cloudflare
These packages depend on many smaller open-source libraries, each under its own licence, which travel with them. If you believe something is missing or credited wrongly, please let us know.