lichess-org/lila-ws

Lichess' websocket server

183

stars

2,638

commits

Scala

primary language

Sep 10, 2026

updated

lichess.org
akka
lichess
pubsub
reactive
redis
scala
streaming
websocket

README

Lila websocket

Handle incoming websocket traffic for lichess.org.

lila <-> redis <-> lila-ws <-> websocket <-> client

Start:

sbt
~reStart

Start with custom config file:

sbt -Dconfig.file=/path/to/my.conf

Custom config file example:

include "application"
http.port = 8080
mongo.uri = "mongodb://localhost:27017/lichess"
redis.uri = "redis://127.0.0.1"

Trusts X-Forwarded-For. Use only behind a reverse proxy!

Code formatting

Please sbt prepare before you submit a PR. This will reformat and do some auto refactoring of the code.

Contributors

ornicar

1,592 commits

scala-steward

700 commits

lenguyenthanh

189 commits

niklasf

75 commits

lichess-org/lila-ws

Lichess' websocket server

183

stars

2,638

commits

Scala

primary language

Sep 10, 2026

updated

lichess.org
akka
lichess
pubsub
reactive
redis
scala
streaming
websocket

README

Lila websocket

Handle incoming websocket traffic for lichess.org.

lila <-> redis <-> lila-ws <-> websocket <-> client

Start:

sbt
~reStart

Start with custom config file:

sbt -Dconfig.file=/path/to/my.conf

Custom config file example:

include "application"
http.port = 8080
mongo.uri = "mongodb://localhost:27017/lichess"
redis.uri = "redis://127.0.0.1"

Trusts X-Forwarded-For. Use only behind a reverse proxy!

Code formatting

Please sbt prepare before you submit a PR. This will reformat and do some auto refactoring of the code.

Contributors

ornicar

1,592 commits

scala-steward

700 commits

lenguyenthanh

189 commits

niklasf

75 commits

Languages

Scala

99.2%