Skip to content

lichess-org/lila-ws

Folders and files

NameName
Last commit message
Last commit date
Oct 25, 2023
Feb 23, 2024
Feb 29, 2024
Sep 7, 2023
May 21, 2023
Feb 20, 2024
Aug 31, 2019
Dec 25, 2022
Feb 28, 2024
Oct 5, 2022
Dec 2, 2019

Repository files navigation

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

This repository uses scalafmt.

Please install it for your code editor if you're going to contribute to this project.

If you don't install it, please run scalafmtAll in the sbt console before committing.