@voicybot main repository
This repository contains the code for one of the most popular bots I've ever built for Telegram — @voicybot. Please, feel free to fork, add features and create pull requests so that everybody (around 500 000 chats) can experience the features you've built.
- Voicy — the main @voicybot code
- Voicy localizations — the list of localized strings for @voicybot
- Voicy payments — payments service that used stripe to process payments for the Google Speech seconds of recognition; currently retired as a stats server for voicybot.com
- Voicy landing — voicybot.com landing page
- Clone this repo:
git clone https://github.com/backmeupplz/voicy
- Launch the mongo database locally
- Create
.env
file withBOTAN_TOKEN
,VOICY_MONGO_DB_URL
,VOICY_TELEGRAM_API_KEY
,VOICY_RANDOM_SALT
,G_CLOUD_PROJECT_ID
,TELEGRAM_PAYMENTS_TOKEN
,ADMIN_ID
, andYANDEX_KEY
- Add Google credentials certificate to
certificates/voicy.json
; you need to create Google service account with access to your Google Cloud project and then get the credentials - Run
npm i
in the root folder - Run
npm run start
BOTAN_TOKEN
— token for botan.io analytics serviceVOICY_MONGO_DB_URL
— url for the mongo database used for Voicy, may include credentialsVOICY_TELEGRAM_API_KEY
— telegram bot token for VoicyVOICY_RANDOM_SALT
— random salt to generate various encrypted thingsG_CLOUD_PROJECT_ID
— Google Cloud services project id for temporary file storage at Google Buckets and Google Speech voicy recognitionTELEGRAM_PAYMENTS_TOKEN
— telegram bot payments token; no longer used as payments have retiredADMIN_ID
— chat id of the person who shall receive valuable logsYANDEX_KEY
— key for Yandex SpeechKit voice recognition serviceWIT_LANGUAGES
— A map of language names to Wit.ai tokens
Any commit pushed to master gets deployed to @voicybot via CI Ninja.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!