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.1-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for voice2text_deltabot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3bf5c581c2830d690260073f37e9a343831701d484e1100323d9b3d7381c40e
MD5 b25fcdcb8933abd4a2617546e3318e91
BLAKE2b-256 2ba69038381b1d2fe8a25666da8d4609c0ecc259bba02fa5d5ede0d495e02b49

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