lichess-org/lila

▲ 4 stars today★ 18,817⑂ 2,821

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

About lichess-org/lila

lichess-org/lila is an open-source project on GitHub, mainly written in Scala. ♞ lichess.org: the forever free, adless and open source chess server ♞ It currently holds 18,817 stars and 2,821 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #96 with 4 new stars today.

GitHub Repository Details

Repository lichess-org/lila · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

lichess.org

Crowdin Mastodon Bluesky Discord Ask DeepWiki

https://github.com/lichess-org/lila/blob/HEAD/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 a modified 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 Pekko 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 12 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. Software builds and CI/CD done with Depot. 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.sh # 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 | | ----------------- | ------- | -------------------------- | | Firefox | 115+ | Full support (recommended) | | Chromium / Chrome | 112+ | Full support | | Edge | 111+ | Full support | | Opera | 97+ | Reasonable support | | Safari | 16.2+ | Reasonable support |

Older browsers 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. 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.

GitHub Stars & Activity

18,817Stars
2,821Forks
0Open issues
ScalaLanguage

GitHub Popularity

GitHub stars18,817
Forks2,821
Open issues0
Primary languageScala
License-
Stars gained today4
Created-
Last pushed-

Trending History

Daily boardrank #96 · ▲ 4 stars

Related GitHub Projects

1

twitter / the-algorithm

Scala★ 73,962⑂ 13,267▲ 6 stars
→
2

apache / spark

Scala★ 44,157⑂ 29,424▲ 7 stars
→
3

tensorflow / tensorflow

C++★ 200,718⑂ 78,963▲ 24 stars
→
4

jackfrued / Python-100-Days

Jupyter Notebook★ 187,000⑂ 55,751▲ 41 stars
→
5

flutter / flutter

Dart★ 179,503⑂ 33,595▲ 164 stars
→
6

vercel / next.js

JavaScript★ 143,110⑂ 34,506▲ 79 stars
→
7

addyosmani / agent-skills

JavaScript★ 104,501⑂ 10,908▲ 750 stars
→
8

mui / material-ui

JavaScript★ 99,161⑂ 32,506▲ 15 stars
→

More Trending Repositories