Skip to content
New websocket server
Scala Shell
Branch: master
Clone or download
ornicar Merge remote-tracking branch 'play/play'
* play/play:
  Revert "disable lobby-in connect/sris batching"
  lila no longer sends disconnect/sri
  support for tell/lobby/active
  /socket BC
  don't eject API sockets
  disable lobby-in connect/sris batching
  default http.port
  fix conf
  fix disconnect/sris
Latest commit fd8af31 Sep 15, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
project autoformat Sep 14, 2019
src/main Merge remote-tracking branch 'play/play' Sep 15, 2019
.gitignore ping Aug 27, 2019
LICENSE add license Aug 31, 2019 conf and doc Sep 14, 2019
build.sbt autoformat Sep 14, 2019 fix deploy Sep 15, 2019

Handle incoming websocket traffic for

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



Run server and reload on file change:


Start with custom config file:

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

Custom config file example:

include "application" = "localhost"
bind.port = 9664
mongo.uri = "mongodb://localhost:27017/lichess"
redis.uri = "redis://"

systemd service file example:


Environment="JAVA_OPTS=-Xms128m -Xmx512m"
ExecStart=/home/lila-ws/bin/lila-ws -Dbind.port=9664

You can’t perform that action at this time.