Skip to content

A simple telegram bot to recognize lengthy voice files to text and vice versa with multiple language support.

Notifications You must be signed in to change notification settings

m4mallu/voicebot

Repository files navigation

Voicebot

A simple Telegram bot to convert lengthy voice clips to text and vice versa with supporting languages.

About

🔰 Voicebot is a simple Telegram bot to convert lengthy voice clips to text and vice versa with supporting languages. Send a voice clip to the bot and it will convert it to text even if it is too long. You can also send pre-recorded voice to the bot and it will convert it to text.

🔰 Voicebot can also convert text to voice clips. Send text to the bot and it will convert it to the voice clip. (Please find the supporting languages in the bot itself)

Mandatory Variables

API_HASH    -   Your API Hash from my.telegram.org
APP_ID      -   Your APP ID from my.telegram.org
BOT_TOKEN   -   Your bot token from @BotFather
LOG_CHAT    -   the chat id where you want to send the logs - starting with -100

</>

Bot Commands

start - Start the bot
help - Show this help message
lang - Change the language

</>

Deploy

Deploy in VPS:
  • Open a Linux Terminal and Run the below commands ( Stage: 1 )
  • git clone https://github.com/m4mallu/voicebot
  • cd voicebot
  • Create a config.py with the Mandatory variables (Refer sample_config.py) and save it in the bot directory.
  • Run the below commands in the same terminal ( Stage: 2 )
  • virtualenv -p python3 venv
  • . ./venv/bin/activate
  • pip3 install -r requirements.txt
  • python3 bot.py
Deploy in Heroku
  • Click the below button to deploy the bot in Heroku
Developer

GPL3
 

Donate


Buy me a cup of coffee for the works !


License

Credits

        
  

About

A simple telegram bot to recognize lengthy voice files to text and vice versa with multiple language support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published