Skip to content

zZoMROT/voicy

 
 

Repository files navigation

Voicybot

@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 (over 500 000 chats) can experience the features you've built.

You can also help by translating the bot to other languages using the strings.txt as a reference.

List of repositories

Installation and local launch

  1. Clone this repo: git clone https://github.com/backmeupplz/voicy
  2. Launch the mongo database locally
  3. Create .env file with the environment variables listed below
  4. Run yarn install in the root folder
  5. Run yarn start

Environment variables in .env file

  • MONGO_URL — Url 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
  • YANDEX_KEY — Key for Yandex SpeechKit voice recognition service
  • USERNAME — Username of the bot in the format bot_bot_bot
  • WIT_LANGUAGES — A map of language names to Wit.ai tokens

Extra info is available in .env.sample file.

Continuous integration

Any commit pushed to master gets deployed to @voicybot via CI Ninja.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!

As seen on

Habrahabr Spark Reddit Bot Store Product Hunt

About

@voicybot Telegram bot main repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%