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.
 
 
Go to file
Thibault Duplessis fd3e1e44be
Merge pull request #429 from scala-steward/update/scalafmt-core-3.7.3
9 hours ago
.github/workflows Add scalafmtCheckAll for ci 2 weeks ago
project Update sbt-native-packager to 1.9.16 1 month ago
src/main Reformat with scalafmt 3.7.3 10 hours ago
.git-blame-ignore-revs Add 'Reformat with scalafmt 3.7.3' to .git-blame-ignore-revs 10 hours ago
.gitignore Ignore .bsp 2 years ago
.scalafmt.conf Update scalafmt-core to 3.7.3 10 hours ago
LICENSE add license 4 years ago
README.md configurable netty.threads 3 months ago
build.sbt scalachess 14.7 1 day ago
deploy.sh tweak deploy script 6 months ago
stage.sh fix stage script permissions 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
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.