Forty-two Telegram bot that transcribes videos and audio messages to text using the OpenAI Whisper API
Send a video, audio message, or audio file to the bot, and it will transcribe it to text.
OPENAI_API_KEY=<your-openai-api-key>
TELEGRAM_API_TOKEN=<your-telegram-api-token>
With docker-compose:
docker-compose up -dRun without Docker (ffmpeg is required):
poetry install
poetry run python main.py| Variable | Description | Default Value |
|---|---|---|
| OPENAI_API_KEY | OpenAI API key | - |
| TELEGRAM_API_TOKEN | Telegram API token | - |
| ALLOWED_USERS | List of allowed users (username or user id). Should be a Python list. Example: [1234567890, durov] | - |
This project is licensed under the MIT License - see the LICENSE file for details.
Created with love in Barcelona