- Notifications
You must be signed in to change notification settings - Fork162
@voicybot Telegram bot main repository
License
NotificationsYou must be signed in to change notification settings
backmeupplz/voicy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
@voicybot main repository
This repository contains the code for one of the most popular bots I've ever built for Telegram —@voicybot. It automatically converts all the audio messages to text when added to a group chat. Please, feel free to fork, add features and create pull requests so that everybody (over 12 000 000 people) can experience the features you've built.
You can also help by translating the bot to other languages or fixing some texts in existing languages by modifying thelocales
folder or atlocalize.borodutch.com.
- voicy — the main@voicybot code
- voicy-payments — payments service that used stripe to process payments for the Google Speech seconds of recognition; currently retired as the stats server forvoicybot.com
- voicy-landing —borodutch.com landing page
- voicy-recognition — Recognition service forvoicybot.com
- Clone this repo:
git clone https://github.com/backmeupplz/voicy
- Launch amongo database locally
- Create
.env
file with the environment variables listed below - Install
ffmpeg
on your machine - Run
yarn
in the root folder - Run
yarn start
Variable | Description |
---|---|
MONGO | URI for the mongo database used |
TOKEN | Telegram bot token |
SALT | Random salt to generate various encrypted stuff |
ADMIN_ID | Chat id of the person who shall receive valuable logs |
WIT_LANGUAGES | A map of language names to Wit.ai tokens |
ENVIRONMENT | App environment, can bedevelopment , defaults toproduction |
See examples in.env.sample
file.
Any commit pushed tomain
gets deployed to@voicybot viaCI Ninja.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!