Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lichess-org/lila-ws
Lichess' websocket server
https://github.com/lichess-org/lila-ws
akka lichess pubsub reactive redis scala streaming websocket
Last synced: about 5 hours ago
JSON representation
Lichess' websocket server
- Host: GitHub
- URL: https://github.com/lichess-org/lila-ws
- Owner: lichess-org
- License: agpl-3.0
- Created: 2019-08-27T17:40:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-25T06:16:48.000Z (24 days ago)
- Last Synced: 2024-10-25T18:38:30.407Z (23 days ago)
- Topics: akka, lichess, pubsub, reactive, redis, scala, streaming, websocket
- Language: Scala
- Homepage: https://lichess.org
- Size: 1.82 MB
- Stars: 145
- Watchers: 14
- Forks: 85
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lila websocket
Handle incoming websocket traffic for [lichess.org](https://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
Please `sbt prepare` before you submit a PR. This will reformats and do some auto refactoring the code.