This bot allows to use voice or text messages in Telegram and get response from ChatGPT.
how to run:
- git clone https://github.com/MishkaKlkv/voice-gpt-telegram-bot
- npm i
- Register your new bot in @BotFather and get token of this new bot
- Create default.json and production.json files in config folder like this:
Insert your bot token and OPENAI_KEY
{ "TELEGRAM_TOKEN": "", "OPENAI_KEY": "" }
- Start application for development:
npm run dev
- To start it in docker do
make build
and thenmake run