lila

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

Github stars Tracking Chart

lichess.org

Build server
Build assets
Crowdin
Twitter

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 130 languages thanks to the community.

Lichess is written in Scala 2.13,
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 seperate server that communicates using redis.
Lichess talks to Stockfish deployed in an AI cluster of donated servers.
It uses MongoDB to store more than 1.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.
The blog uses a free open content plan from prismic.io.
All rated games are published in a free PGN database.
Browser testing done with Browserstack.
Please help us translate lichess with Crowdin.

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

Join us on discord or in the #lichess freenode IRC channel 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.

Credits

See the contributors on this repository and lichess.org/thanks.

Supported browsers
------------------, Name, Version, Notes, -----------------, -------, -----, Chromium / Chrome, last 10, Full support, fastest local analysis, Firefox, 55+, Full support, second fastest local analysis, Safari, 10.1+, Reasonable support, Opera, 55+, Reasonable support, Edge, 17+, 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.

Main metrics

Overview
Name With Ownerlichess-org/lila
Primary LanguageScala
Program languageScala (Language Count: 8)
Platform
License:GNU Affero General Public License v3.0
所有者活动
Created At2012-02-21 19:46:55
Pushed At2025-06-03 13:56:35
Last Commit At2025-06-03 15:56:32
Release Count5
Last Release Namepre-paypal-checkout (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count16.7k
Watchers Count230
Fork Count2.4k
Commits Count67.7k
Has Issues Enabled
Issues Count9922
Issue Open Count1044
Pull Requests Count6205
Pull Requests Open Count16
Pull Requests Close Count1182
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private