Skip to content

♞ lichess.org: the forever free, adless and open source chess server ♞

License

Notifications You must be signed in to change notification settings

Aryananand04/lichess

This branch is 5293 commits behind lichess-org/lila:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a7b4829 · Apr 18, 2024
Apr 17, 2024
Apr 18, 2024
Apr 16, 2024
Apr 17, 2024
Apr 18, 2024
Apr 18, 2024
Apr 17, 2024
Apr 11, 2024
Apr 17, 2024
Jun 4, 2019
Dec 17, 2022
Mar 30, 2024
May 2, 2022
Apr 5, 2024
Jan 2, 2024
Mar 30, 2024
Jun 16, 2023
Dec 29, 2023
Jun 19, 2023
Apr 8, 2024
Mar 15, 2024
Mar 30, 2024
Aug 30, 2022
Feb 12, 2024
Jul 5, 2021
Sep 15, 2020
Mar 29, 2024
Apr 18, 2024
May 19, 2023
Feb 8, 2024
Apr 10, 2024
Apr 7, 2024
Apr 9, 2023

Repository files navigation

Build server Build assets Crowdin Twitter Discord

Lichess homepage

Lila (li[chess in sca]la) is a free online chess game server focused on realtime gameplay and ease of use.

It features a search engine, computer analysis distributed with fishnet, tournaments, simuls, forums, teams, tactic trainer, a mobile app, and a shared analysis board. The UI is available in more than 140 languages thanks to the community.

Lichess is written in Scala 3, and relies on the Play 2.8 framework. scalatags is used for templating. Pure chess logic is contained in the scalachess submodule. The server is fully asynchronous, making heavy use of Scala Futures and Akka streams. WebSocket connections are handled by a separate server that communicates using redis. Lichess talks to Stockfish deployed in an AI cluster of donated servers. It uses MongoDB to store more than 4.7 billion games, which are indexed by elasticsearch. HTTP requests and WebSocket connections can be proxied by nginx. The web client is written in TypeScript and snabbdom, using Sass to generate CSS. All rated games are published in a free PGN database. Browser testing done with Browserstack. Proxy detection done with IP2Proxy database. Please help us translate Lichess with Crowdin.

See lichess.org/source for a list of repositories.

Join us on Discord for more info. Use GitHub issues for bug reports and feature requests.

Installation

./lila # thin wrapper around sbt
run

The Wiki describes how to setup a development environment.

HTTP API

Feel free to use the Lichess API in your applications and websites.

Supported browsers

Name Version Notes
Chromium / Chrome last 10 Full support
Firefox 67+ Full support (fastest local analysis since FF 79)
Edge 91+ Full support (reasonable support for 79+)
Opera 55+ Reasonable support
Safari 11.1+ Reasonable support

Older browsers (including any version of Internet Explorer) will not work. For your own sake, please upgrade. Security and performance, think about it!

License

Lila is licensed under the GNU Affero General Public License 3 or any later version at your choice with an exception for Highcharts. See copying for details.

Production architecture (as of July 2022)

Lichess production server architecture diagram

Credits

See lichess.org/thanks and the contributors here:

GitHub contributors

Competence development program

Lichess would like to support its contributors in their competence development by covering costs of relevant training materials and activities. This is a small way to further empower contributors who have given their time to Lichess and to enable or improve additional contributions to Lichess in the future. For more information, including how to apply, check Competence Development for Lichess contributors.

About

♞ lichess.org: the forever free, adless and open source chess server ♞

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 67.6%
  • TypeScript 21.9%
  • SCSS 7.2%
  • JavaScript 2.2%
  • Python 0.4%
  • CSS 0.3%
  • Other 0.4%