Skip to content

abusarimhindi/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 600 000 chats) 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 the locales folder.

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. Install ffmpeg on your machine
  5. Run yarn install in the root folder
  6. 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
  • 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 98.6%
  • Dockerfile 1.4%