Skip to content

bytebone/voicy

 
 

Repository files navigation

Introduction

This is my personal attempt to make the now near-dead Voicy bot work on todays tech, fixing issues here and there and making everything work nicely on Docker.

Voicybot

@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 the locales folder or at localize.borodutch.com.

List of repositories

Installation and Docker deployment

  1. Clone this repo: git clone https://github.com/bytebone/voicy
  2. Edit the .env.sample file with your wit.ai tokens, telegram token and salt, and save it as .env
  3. Run docker build --network=host -t bytebone:voicy
  4. Run docker compose up

Environment variables in .env file

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 be development, defaults to production

See examples in .env.sample file.

License

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

About

@voicybot Telegram bot main repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.9%
  • JavaScript 4.3%
  • Dockerfile 0.8%