# Lila

Lila is the self-hostable open-source backend for Lichess, a free online chess platform for playing games, puzzles, tournaments, and community features.

Canonical page: https://ourlocalhost.com/app/8573/lila

## Description

Lila is the self-hostable open-source backend for Lichess, a free online chess platform for playing games, puzzles, tournaments, and community features.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

78/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 2 days ago)
- Popular: 86 (19,001 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)

## Links

- Official website: https://lichess.org/
- GitHub: https://github.com/lichess-org/lila

## Common questions

### How do I start Lila with Docker?

Clone the lila-docker repository first, enter the cloned folder, and run the ./lila-docker start command. Without the local copy, you do not have the start script or Docker files needed to run it.

### How can I check if a self-hosted Lila instance is running after startup?

Check the endpoint localhost:8080/api/user/lichess in a browser or with curl. If it does not answer, the service likely failed to start or is still booting.

### Can Lila be put behind nginx for HTTP and WebSocket traffic?

Yes, HTTP requests and WebSocket connections can be proxied by nginx.

### What database does Lila use for stored games and search indexing?

Lila uses MongoDB to store games and elasticsearch to index them.

## Alternatives

- AI Query: The fastest way for engineers to generate SQL queries.
- AI2sql: With AI2sql, engineers and non-engineers can easily write efficient, error-free SQL queries without knowing SQL.
- AskYourDatabase
- Datologist: Datologist turns any SQL database into a chat interface.
- Lumi AI: A friendly, human-like AI chatbot powered by Google's Gemini models via the Antigravity API.
- Miro Player: Miro (formerly Democracy Player) is a free and open source internet TV application, media library, and video player.
- Sqlai.ai

---
Source: Our Local Host (https://ourlocalhost.com/app/8573/lila), the self-hosted and open-source app directory.
