2
0
Fork
You've already forked WhisperBot
0
XMPP bot that transliterates audio messages using OpenAI's Whisper libraries
  • Python 93.5%
  • Dockerfile 6.5%
2025年01月23日 06:57:34 +00:00
.gitignore revert e231997864 2023年04月17日 02:23:02 +00:00
.pre-commit-config.yaml Added pre-commit 2023年10月06日 00:37:44 -03:00
about.txt WhisperBot kickoff 2023年04月15日 11:46:58 -03:00
bot.env Added WHISPER_MODEL to bot.env 2023年04月18日 02:28:56 -03:00
docker-compose.yml fix docker image name 2023年04月16日 21:55:07 -03:00
Dockerfile Bump 2023年10月06日 00:45:36 -03:00
LICENSE Initial commit 2023年04月15日 14:43:07 +00:00
quotes.txt WhisperBot kickoff 2023年04月15日 11:46:58 -03:00
README.md Other ways to run it 2023年04月16日 23:35:03 -03:00
requirements.txt WhisperBot kickoff 2023年04月15日 11:46:58 -03:00
whisperbot.py Add an event handler of group chat message 2025年01月23日 06:57:34 +00:00

WhisperBot

XMPP bot that transliterates audio messages using OpenAI's Whisper libraries

Running Whisperbot

As KISS as it can get

git clone https://codeberg.org/TheCoffeMaker/WhisperBot.git
cd WhisperBot
docker build -t whisperbot .
docker docker run -e JID="bot_acct@your.xmpp.server" \
 -e PASS="a_very_secure_password" \
 -e ROOM="that_room_with_audio_messages@muc.at.some.server" \
 -e NICK="Bot_Nick" \
 -v /host/volume/path/:/root/.cache/ \
 --name whisperbot \
 whisperbot:latest

Or with docker-compose:

git clone https://codeberg.org/TheCoffeMaker/WhisperBot.git
cd Whisperbot
vi bot.env # Edit bot parameters
docker-compose up

Or directly downloading from DockerHub:

docker docker run -e JID="bot_acct@your.xmpp.server" \
 -e PASS="a_very_secure_password" \
 -e ROOM="that_room_with_audio_messages@muc.at.some.server" \
 -e NICK="Bot_Nick" \
 -v /host/volume/path/:/root/.cache/ \
 --name whisperbot \
 thecoffemaker/whisperbot:latest

Container's volume can be omited, but will download the Whisper's model each time it runs. By using volume we avoid to download the model each time the container get restarted.

You can see it working or reach us at Cyberdelia's Lost in Cyberspace channel.