Checkpoint audio-only Skald fork work

This commit is contained in:
Storm Dragon
2026-05-18 13:06:57 -04:00
parent a8ada950d5
commit 965347cad4
48 changed files with 1080 additions and 3651 deletions
+3 -27
View File
@@ -26,30 +26,6 @@ Olimex board, for example), you would say:
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags='-s -w'
```
### Optional: install libraries for background blur
Skald's client uses Google's MediaPipe library to implement background
blur. This library is optional, and if it is absent, Skald will
disable the menu entries for background blur.
Optionally install Google's MediaPipe library:
```sh
mkdir mediapipe
cd mediapipe
wget https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.21.tgz
tar xzf tasks-vision-*.tgz
rm -f ../static/third-party/tasks-vision
mv package ../static/third-party/tasks-vision
cd ../static/third-party/tasks-vision
mkdir models
cd models
wget https://storage.googleapis.com/mediapipe-models/image_segmenter/selfie_segmenter/float16/latest/selfie_segmenter.tflite
cd ../../../../
```
If you don't have `wget` on your system, try using `curl -O` instead.
### Deploy to your server
The following instructions assume that your server is called
@@ -154,9 +130,9 @@ server's `data/` directory:
rsync config.json skald@skald.example.org:data/
```
### Group setup
### Hall setup
Create a group:
Create a hall:
```sh
skaldctl create-hall -hall city-watch
@@ -169,7 +145,7 @@ If you didn't install a TLS certificate above, you will need to run
skaldctl -insecure create-hall -hall city-watch
```
Create an "op", a user with group moderation privileges:
Create an "op", a user with hall moderation privileges:
```sh
skaldctl create-user -hall city-watch -user vimes -permissions op