Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/backmeupplz/voicy
@voicybot Telegram bot main repository
https://github.com/backmeupplz/voicy
bot speech-to-text telegam telegram-bot
Last synced: 3 months ago
JSON representation
@voicybot Telegram bot main repository
- Host: GitHub
- URL: https://github.com/backmeupplz/voicy
- Owner: backmeupplz
- License: mit
- Created: 2016-12-03T06:24:17.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2023-11-22T21:59:21.000Z (about 1 year ago)
- Last Synced: 2024-05-18T20:22:34.829Z (9 months ago)
- Topics: bot, speech-to-text, telegam, telegram-bot
- Language: TypeScript
- Homepage: https://voicybot.com
- Size: 6.55 MB
- Stars: 882
- Watchers: 29
- Forks: 161
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-grammY - backmeupplz/voicy - A bot that transcribes audio messages to text. (Bots)
README
[![Voicybot](/img/logo.png?raw=true)](https://voicybot.com/)
# [@voicybot](https://t.me/voicybot) main repository
This repository contains the code for one of the most popular bots I've ever built for Telegram — [@voicybot](https://t.me/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](https://localize.borodutch.com).
## List of repositories
- [voicy](https://github.com/backmeupplz/voicy) — the main [@voicybot](https://t.me/voicybot) code
- [voicy-payments](https://github.com/backmeupplz/voicy-payments) — payments service that used stripe to process payments for the Google Speech seconds of recognition; currently retired as the stats server for [voicybot.com](https://voicybot.com)
- [voicy-landing](https://github.com/backmeupplz/voicy-landing) — [borodutch.com](https://borodutch.com) landing page
- [voicy-recognition](https://github.com/backmeupplz/voicy-recognition/) — Recognition service for [voicybot.com](https://voicybot.com)## Installation and local launch
1. Clone this repo: `git clone https://github.com/backmeupplz/voicy`
2. Launch a [mongo database](https://www.mongodb.com/) 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](https://t.me/voicybot) via [CI Ninja](https://github.com/backmeupplz/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](/img/habr.png?raw=true)](https://habrahabr.ru/post/316824/)
[![Spark](/img/spark.png?raw=true)](https://spark.ru/startup/voicy/blog/19008/kak-zapustit-proekt-v-odinochku/)
[![Reddit](/img/reddit.png?raw=true)](https://redd.it/5iduzy)
[![Bot Store](/img/bs.png?raw=true)](https://storebot.me/bot/voicybot)
[![Product Hunt](/img/ph.png?raw=true)](https://www.producthunt.com/posts/voicy)