Go to file
bel 5e21ca40fc upgrade to mvp i think 2023-03-27 21:41:40 -06:00
config.d upgrade to mvp i think 2023-03-27 21:41:40 -06:00
git.d git pull origin master for each subm 2023-03-27 20:19:27 -06:00
.gitignore mv mayhem-party.d/host.d here 2023-03-26 15:49:34 -06:00
.gitmodules add all other modules 2023-03-26 15:54:20 -06:00
README.md upgrade to mvp i think 2023-03-27 21:41:40 -06:00

README.md

Mayhem Party Venue

Clients

Distribute rusty-pipe

# https://www.reddit.com/r/rust/comments/5k8uab/crosscompiling_from_ubuntu_to_windows_with_rustup/
(
   echo '[target.x86_64-pc-windows-gnu]'
   echo 'linker = "x86_64-w64-mingw32-gcc"'
   echo 'ar = "x86_64-w64-mingw32-gcc-ar"'
) >> $HOME/.cargo/config
sudo apt install mingw-w64
rustup target add x86_64-pc-windows-gnu
echo windows
cargo build --release --target x86_64-pc-windows-gnu && ls target/x86_64-pc-windows-gnu/release/rusty-pipe.exe
echo local
cargo install --path ./

Each client needs 1 executable and 1 config file with a unique user "name".

The server cannot be a client because sending, listening, and typing keyboard is bad. Maybe a VM on the client as a server would work tho.

See ./config.d/rusty-pipe.d

Server

TTS

cd ./git.d/tts.d/larynx.d; bash run.sh

STT

cd ./git.d/stt.d/whisper-2023; HOTWORDS=../../../config.d/mayhem-party.d/v01.yaml@.users[].state.alias MIC_TIMEOUT=2 URL=http://localhost:17071/gm/rpc/broadcastSomeoneSaidAlias?message={{hotword}} HEADERS=say='Eye herd {{hotword}}' python3 ./hotwords.py

mayhem-party

Configs

cd ./config.d/mayhem-party.d/remap.d; bash ./rotate.sh

rotate anytime via stdin or pkill -SIGUSR1 -f rotate.sh

Binary

bash -c 'true; source ./config.d/mayhem-party.d/env.env; mayhem-party'

Game Playing

Foreground