知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
#!/bin/bash
set -euo pipefail
here="$(cd "$(dirname "$0")/.." && pwd)"
VM="${VM:-$HOME/VMs/cicada-ubuntu}"
o=(-q -i "$VM/vm_key" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPath="$VM/ssh.sock" -o ControlPersist=600)
ssh "${o[@]}" -p 2223 [email protected] 'pkill -f "python3 -m cicada[.]app" || true; rm -rf ~/cicada-linux'
scp "${o[@]}" -P 2223 -r "$here/build/cicada-linux" [email protected]:
scp "${o[@]}" -P 2223 "$here/scripts/cicadactl" "$here/scripts/smoke.sh" "$here/vm/focus_probe.py" "$here/vm/fullscreen_probe.py" "$here/vm/set_scale.py" "$here/vm/long_session.py" "$here/vm/click.py" "$here/vm/focus_test.sh" [email protected]:cicada-linux/bin/
scp "${o[@]}" -P 2223 -q "$here/native/voiceprint.c" "$here/native/build.sh" [email protected]:cicada-linux/lib/
ssh "${o[@]}" -p 2223 [email protected] 'cd ~/cicada-linux/lib && command -v gcc >/dev/null && bash build.sh . && rm -f voiceprint.c build.sh || echo "no gcc in the VM: sudo apt install build-essential"'
echo "pushed to ~/cicada-linux"