This is a maubot to transcribe voice messages automatically.
It uses the Gladia api which offers a free tier to transcribe up to 10 hours/month. This should be more than enough for your incoming voice messages.
Get yourself a Gladia API key and set it in the configuration.
By default, the bot automatically transcribes any incoming voice message. However, you can control its behavior:
- Disable in large groups: You can set a limit on the maximum number of participants in a room for automatic transcription by configuring
max_room_participants. This allows you to disable automatic transcription for large groups to save API usage. Set it to0to transcribe everywhere regardless of room size. - Manual transcription via reaction: If automatic transcription is skipped (e.g., in a large group), you can still trigger the transcription manually by reacting to the voice message with the ✍️ (:writing-hand:) emoji.
I hate when I receive a voice message. It's really inconvenient to listen to it and there's no quick glance function. Having the transcript is much easier.