Meeting notes
!record (or /record) in any bot channel records the voice channel you are in. When it stops, the bot wakes a Windows PC, has it transcribe the audio with whisper.cpp, posts the transcript in MEETING_NOTES_CHANNEL and lets Claude write a summary in a thread. Only the summary uses tokens.
- Record. The bot joins the voice channel muted and announces the recording in the channel’s chat. Every person is recorded separately, one clip per utterance (
<user id>-<ms since start>.ogg), so the transcript gets names and timestamps without speaker detection. Stop with!record stop; it also stops a minute after everyone leaves, afterMEETING_MAX_MINUTES, or before a bot restart. - Prepare. The clips are converted to 16 kHz mono WAV on the Pi (ffmpeg), so the PC needs no ffmpeg. Clips under 0.6 s are dropped.
- Wake. If the PC does not answer on the SSH port, the bot asks the Pi host to wake it (
TRANSCRIBER_WAKE_VIA: an SSH key that may only run/usr/local/bin/wake-transcriber, which sends a Wake-on-LAN packet to one fixed MAC) and waits up toTRANSCRIBER_BOOT_TIMEOUT_S. If it had to wake the PC, it tells the PC so (mark-woken). - Transcribe. One SSH call streams a tar of the clips to
transcriber.cmd(Windowstar.exeunpacks it from stdin; PowerShell must not read stdin, it hangs on larger input), thentranscriber.ps1runs whisper-cli with the configured model and language and answers with JSON. Whisper runs with Silero VAD (silence and noise are skipped, speech is cut into parts of at most 22 s) and-mc 0(no earlier text is fed back in, so one garbled phrase can’t start a repetition loop). The bot merges all clips into one timeline:**[12:03] Adomas:** …. - Post. A card in the notes channel shows the progress and then the participants and length; a thread under it gets the transcript as a
.mdfile, then a Claude session (modelMEETING_SUMMARY_MODEL) posts a short summary: a few sentences, decisions and action items. Meeting threads get no model footer and no status emoji in their name. In that thread Claude only answers when @mentioned, so people can discuss the meeting freely. The WAVs are deleted afterwards; the original.oggaudio is kept, see Kept recordings. - Shut down. When no more meetings are waiting, the bot sends
shutdown-if-woken. The PC shuts down in 5 minutes only if the bot woke it and nobody has logged in since: logging in runs a task that deletes the “woken by bot” flag and cancels a pending shutdown. If the PC was already on, it stays on.
If something fails, the recording is kept and the notes message says so; !meeting retry tries again. Recordings left over from a restart are retried on startup.
Kept recordings
Section titled “Kept recordings”By default (AUDIO_EPHEMERAL=false) the bot records straight into RECORDINGS_DIR (/recordings), one folder per meeting:
/recordings/2026-11-26T18-40-30-882Z/ <user id>-<ms since start>.ogg one clip per utterance, Discord's Opus audio as received meeting.json channel, start and end, who started it, user id → name meeting-2026-11-26-20-40.md the transcript, copied here when it is readyAn hour of meeting is roughly 20–45 MB, depending on the voice channel’s bitrate. Nothing is ever deleted from there, so mount a disk at /recordings that node (uid 1000) can write. If the folder can’t be created, !record says so and doesn’t start.
With AUDIO_EPHEMERAL=true the clips stay in the bot’s state folder and are deleted after a successful transcript, as before v1.11.0. Whether a meeting’s audio is deleted depends on where it was recorded, so switching the flag never deletes kept recordings, even on !meeting retry.
Commands
Section titled “Commands”| Command | Effect |
|---|---|
!record |
Starts recording the voice channel you are in. |
!record stop |
Stops and starts the transcription. |
!meeting |
Recording, transcription and PC status. |
!meeting retry |
Transcribes meetings that failed or were interrupted. |
!meeting key |
Shows the bot’s SSH public key for the PC setup. |
!meeting test |
Wakes the PC if needed, runs status over SSH, then lets it shut down again if the bot woke it. |
Setting up the PC
Section titled “Setting up the PC”- In Discord, run
!meeting keyand copy the key. - Copy the repo’s
windows/folder (setup-transcriber.ps1,transcriber.ps1,transcriber.cmd) to the PC. In an administrator PowerShell in that folder:Options:Terminal window Set-ExecutionPolicy -Scope Process Bypass.\setup-transcriber.ps1 -PublicKey "ssh-ed25519 AAAA… raugykla-bot-transcriber"-Model azuolas(default),-Language lt,-Prompt "…",-CpuOnly(download the CPU build instead of compiling the Vulkan one).- Models:
azuolasis Ąžuolas, whisper-large-v3 trained on 9,800 h of Lithuanian (LIEPA-3), as q8_0 (1.6 GB);azuolas-q4is the q4_0 version (0.85 GB, about as accurate). The stocklarge-v3,large-v3-turbo,mediumandsmallstill work. Ąžuolas writes lowercase without punctuation, and makes up text in silence, which is why the VAD model is always downloaded and used. - Prompt: names and words the team uses, e.g.
-Prompt "Adomas, Jonas, Raugykla, Linear, deploy.". It nudges Whisper towards those spellings. It is saved inC:\Transcriber\config.json; a later run without-Promptkeeps it. - Updating an installed PC (new scripts or another model): copy the new
windows/folder and run.\setup-transcriber.ps1again without-PublicKey; the bot’s key stays as it is and finished steps are skipped. For a GPU it compiles whisper.cpp with Vulkan, which works on AMD cards such as the RX 5700. It installs Git, CMake, the Vulkan SDK and the Visual Studio C++ Build Tools with winget (several GB, takes a while).
- Models:
- In the BIOS/UEFI, enable Wake-on-LAN (often Power On By PCI-E or Resume by PCI-E device; ErP must be off). The script already enables Wake on Magic Packet on the network card and turns off Fast Startup.
- Give the PC a fixed IP (DHCP reservation on the router).
- On the Pi (the Docker host), from the repo’s
pi/folder, as the user the bot should log in as:It installsTerminal window ./setup-wake.sh 9C-6B-00-11-C7-DE "ssh-ed25519 AAAA… raugykla-bot-transcriber"/usr/local/bin/wake-transcriber(MAC and broadcast address fixed inside) and lets the bot’s key run only that, only from Docker networks. The container reaches the Pi ashost.docker.internal(extra_hostsin the compose files); no host networking needed. - Set
MEETING_NOTES_CHANNEL,TRANSCRIBER_HOST,TRANSCRIBER_USER(the Windows user name the script prints) andTRANSCRIBER_WAKE_VIA(printed bysetup-wake.sh), update the stack, and run!meeting testwith the PC switched off.
Security: on both machines the bot’s key is listed with a forced command. On the PC it can only run transcriber.cmd with one of a few fixed commands; on the Pi only wake-transcriber. No shell, no port forwarding, no other files.
Notes: the bot needs Connect in the voice channel. Whisper on an SSH session runs without a logged-in desktop; if the GPU is not available there, whisper.cpp falls back to the CPU (slower) — check C:\Transcriber\whisper.log.