switch from websockets to sse

This commit is contained in:
XenGi 2024-08-07 23:35:16 +02:00
parent 67335c97b4
commit 534077bad3
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
13 changed files with 384 additions and 233 deletions

View file

@ -28,7 +28,7 @@ Example flake setup (untested):
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
sanic = {
url = "git.berlin.ccc.de/cccb/sanic";
url = "gitlab.com/XenGi/sanic";
inputs.nixpkgs.follows = "nixpkgs";
};
};
@ -52,10 +52,18 @@ Example flake setup (untested):
Install from the AUR:
```
```shell
yay -S sanic
```
### Podman
Run as daemon:
```shell
podman run -d -v ./config.ini:/config.ini -p 8443:8443 registry.gitlab.com/XenGi/sanic:latest
```
## 🛠️ Development
sanic is developed using [Nix][nix], but you can also just use the usual Golang tooling.