Analysis updated 2026-06-24
Run your own free, ad-free online chess server with tournaments, simultaneous exhibitions, and a mobile app
Study how a high-traffic real-time multiplayer platform handles WebSocket connections and game state at scale
Access the freely downloadable database of over 12 billion games for chess research or analysis
Contribute features or localizations to one of the largest open-source game platforms in the world
| lichess-org/lila | prisma/prisma1 | scala/scala | |
|---|---|---|---|
| Stars | 18,184 | 16,400 | 14,450 |
| Language | Scala | Scala | Scala |
| Setup difficulty | hard | hard | hard |
| Complexity | 5/5 | 4/5 | 5/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires MongoDB, Redis, Elasticsearch, and a Scala build environment plus a companion WebSocket server, significant infrastructure to run locally.
Lila (short for "lichess in scala") is the open-source codebase behind lichess.org, a free online chess server. Unlike most chess platforms, lichess is entirely free to use, has no advertisements, and is run as a non-profit. The platform supports real-time chess games, tournaments, simultaneous exhibitions (where one player faces many opponents at once), forums, teams, a tactics trainer, a shared analysis board for studying positions, and a mobile app. The server is written in Scala 3, a statically-typed programming language that runs on the Java Virtual Machine, built on a modified version of the Play web framework. It handles many tasks asynchronously, meaning it can process many requests at once without waiting, using Scala's concurrency tools. WebSocket connections (which keep a live two-way channel open between browser and server for real-time moves) are handled by a separate companion server communicating over Redis, a fast in-memory data store. Game data, over 12 billion games, is stored in MongoDB and indexed with Elasticsearch for search. Computer analysis is provided by Stockfish, a strong open-source chess engine, deployed across a cluster of donated servers. The web interface is written in TypeScript. All rated games are published in a freely downloadable database. The UI is translated into over 140 languages by community volunteers.
Lila is the open-source server powering lichess.org, a completely free, ad-free online chess platform with real-time games, tournaments, a tactics trainer, analysis boards, and a mobile app.
Mainly Scala. The stack also includes Scala, TypeScript, MongoDB.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.