fitztrev / lila-ws

Lichess' websocket server

Home Page:https://lichess.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Lichess' websocket server

https://lichess.org

License:GNU Affero General Public License v3.0


Languages

Language:Scala 99.6%Language:Shell 0.4%