GithubHelp home page GithubHelp logo

backmeupplz / voicy Goto Github PK

View Code? Open in Web Editor NEW
881.0 29.0 161.0 6.71 MB

@voicybot Telegram bot main repository

Home Page: https://voicybot.com

License: MIT License

JavaScript 4.35% TypeScript 95.65%
telegam bot telegram-bot speech-to-text

voicy's Introduction

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 local launch

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

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.

Continuous integration

Any commit pushed to main 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.