mirror of https://github.com/ornicar/lila-ws
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
3 days ago | |
---|---|---|
.github/workflows | 4 months ago | |
project | 1 week ago | |
src/main | 1 month ago | |
.git-blame-ignore-revs | 1 month ago | |
.gitignore | 12 months ago | |
.scalafmt.conf | 1 month ago | |
LICENSE | 3 years ago | |
README.md | 3 months ago | |
build.sbt | 4 days ago | |
deploy.sh | 2 years ago | |
stage.sh | 3 years ago |
README.md
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
netty.useEpoll = true
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.