https://github.com/lichess-org/lila-fishnet
Proxy between lila and fishnet move clients
https://github.com/lichess-org/lila-fishnet
cats cats-effect chess fishnet functional-programming lichess typelevel
Last synced: 6 months ago
JSON representation
Proxy between lila and fishnet move clients
- Host: GitHub
- URL: https://github.com/lichess-org/lila-fishnet
- Owner: lichess-org
- License: agpl-3.0
- Created: 2019-10-21T13:21:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T00:24:00.000Z (7 months ago)
- Last Synced: 2025-04-01T16:05:39.815Z (6 months ago)
- Topics: cats, cats-effect, chess, fishnet, functional-programming, lichess, typelevel
- Language: Scala
- Homepage: https://lichess.org/
- Size: 856 KB
- Stars: 41
- Watchers: 6
- Forks: 28
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lila Fishnet
Proxy between lila and fishnet move clients
```
lila <-> redis <-> lila-fishnet <- http <- fishnet-clients
```## Developement
Start:
```sh
sbt
```Start with default config:
```sh
sbt app/run
```Use environment variables to start with custom config (`redis.host` and `kamon` for example):
```sh
REDIS_HOST=redis KAMON_ENABLED=true CONFIG_FORCE_kamon_influxdb_port=8888 sbt app/run
```For other `config` check [AppConfig.scala](https://github.com/lichess-org/lila-fishnet/blob/master/app/src/main/scala/AppConfig.scala)
Run all tests (required Docker for IntegrationTest):
```sh
sbt app/test
```Run a single test:
```sh
sbt app/testOnly lila.fishnet.ExecutorTest
```Run code format and auto code refactor with scalafmt & scalafix:
```sh
sbt prepare
```### release
```bash
sbt release with-defaults
```