Skip to main content

Delta Chat bot to extract text from voice messages

Project description

Voice To Text Bot

Latest Release CI Code style: black

A voice-to-text converter bot for Delta Chat.

Install

pip install voice2text-deltabot

The bot uses Whisper to extract the text from voice messages, Whisper requires the command-line tool ffmpeg to be installed on your system, which is available from most package managers:

# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

Usage

To configure the bot:

voice2text-bot init bot@example.org SuperHardPassword

(Optional) To customize the bot name, avatar and status/signature:

voice2text-bot config selfavatar "/path/to/avatar.png"
voice2text-bot config displayname "Voice To Text"
voice2text-bot config selfstatus "Hi, send me some voice message to convert it to text"

Finally you can start the bot with:

voice2text-bot serve

To see the available options, run in the command line:

voice2text-bot --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

voice2text_deltabot-0.1.2-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file voice2text_deltabot-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for voice2text_deltabot-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 79d45600ad01f0d7c0df638c26a047a1322d6a1d82933ee1509ed14e4f3d5487
MD5 8af31993a63e63c83196797709fadba8
BLAKE2b-256 04b035e153eb219ef72f4069115378a51c00657dcf97d8e32339feb6af34a55d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page