{"id":15690456,"url":"https://github.com/dromzeh/vmt","last_synced_at":"2025-07-06T11:33:39.154Z","repository":{"id":176465492,"uuid":"628352066","full_name":"dromzeh/vmt","owner":"dromzeh","description":"✨ Discord Bot that transcribes (\u0026 translates) Discord's voice messages into text.","archived":false,"fork":false,"pushed_at":"2023-07-12T14:25:35.000Z","size":18,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-03T13:34:31.403Z","etag":null,"topics":["deepl","discord","discord-py","discord-voice","speech-recognition","translator","voice-recognition"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dromzeh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://buymeacoffee.com/marcelmd"]}},"created_at":"2023-04-15T17:18:01.000Z","updated_at":"2024-07-18T18:43:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd396d78-eb72-4481-a7cb-1992b7ea58e1","html_url":"https://github.com/dromzeh/vmt","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.2857142857142857,"last_synced_commit":"db50d75509676b349ce127a7618ea028d99505dc"},"previous_names":["dromzeh/vmt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dromzeh%2Fvmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dromzeh%2Fvmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dromzeh%2Fvmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dromzeh%2Fvmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dromzeh","download_url":"https://codeload.github.com/dromzeh/vmt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dromzeh%2Fvmt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259072703,"owners_count":22801069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deepl","discord","discord-py","discord-voice","speech-recognition","translator","voice-recognition"],"created_at":"2024-10-03T18:09:51.064Z","updated_at":"2025-06-10T12:05:34.581Z","avatar_url":"https://github.com/dromzeh.png","language":"Python","funding_links":["https://buymeacoffee.com/marcelmd"],"categories":[],"sub_categories":[],"readme":"# VMT - Discord Voice Message Transcriber and Translator\n\n[![License: MIT](https://img.shields.io/badge/license-MIT-blueviolet.svg)](https://github.com/dromzeh/vmt)\n[![Formatter: Black](https://img.shields.io/badge/formatter-Black-lightgrey.svg)](https://black.readthedocs.io/en/stable/)\n\nA Discord bot that can transcribe and translate Discord Voice Messages.\n\n- Uses the DeepL API for translation and Google's Speech Recognition API for transcription.\n\n## Requirements\n\n- Python 3.8+\n- discord.py\n- pydub\n- speech recognition\n- deepl\n\nRun the following:\n\n```bash\npip install -r requirements.txt\n```\n\n## Installation\n\n\u003e **Note**\n\u003e Bot requires Intents to be enabled in the developer portal \u0026 an API key for the DeepL API.\n\n- Clone the repository: `git clone https://github.com/dromzeh/vmt.git`\n- Rename the `config.example.json` file to `config.json` inside `src/config` and fill in the necessary values (See [Configuration](#configuration)) \n\nOnce the configuration file has been filled, you may run the bot using one of the following methods:\n\n### Native Installation\n\n- Install the requirements `pip install -r requirements.txt`\n- Run the bot inside the `/src` folder: `python main.py`\n\n### Docker Installation (Easier)\n\nAssuming `docker` and `docker-compose` are installed\n\n```bash\ndocker-compose -f compose.yaml up\n```\n\n## Usage\n\n- To use the bot, simply reply to a voice message with the `transcribe` command. The bot will transcribe the voice message and post the transcription as a reply, if you don't reply, the bot will find the most recent voice message in the channel and transcribe it instead.\n- If you want to automatically translate the text, you can just add the language code as an argument, such as : `vmt transcribe es` for Spanish, full list is available at `vmt languages` or [here](#language-code-list).\n- The bot will then automatically translate the text using the DeepL API.\n\n### Configuration\n\nThe config.json file contains the following fields:\n\n- `discord_token`: Your Discord bot token.\n- `deepl_api_key`: Your DeepL API key.\n- `language_codes`: A dictionary of language codes and their corresponding language names.\n\n### Language Code List\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand\u003c/summary\u003e\n\n```js\n    \"language_codes\": {\n        \"BG\": \"Bulgarian\",\n        \"CS\": \"Czech\",\n        \"DA\": \"Danish\",\n        \"DE\": \"German\",\n        \"EL\": \"Greek\",\n        \"EN-GB\": \"English (British)\",\n        \"EN-US\": \"English (American)\",\n        \"ES\": \"Spanish\",\n        \"ET\": \"Estonian\",\n        \"FI\": \"Finnish\",\n        \"FR\": \"French\",\n        \"HU\": \"Hungarian\",\n        \"ID\": \"Indonesian\",\n        \"IT\": \"Italian\",\n        \"JA\": \"Japanese\",\n        \"KO\": \"Korean\",\n        \"LT\": \"Lithuanian\",\n        \"LV\": \"Latvian\",\n        \"NB\": \"Norwegian (Bokmål)\",\n        \"NL\": \"Dutch\",\n        \"PL\": \"Polish\",\n        \"PT-BR\": \"Portuguese (Brazilian)\",\n        \"PT-PT\": \"Portuguese\",\n        \"RO\": \"Romanian\",\n        \"RU\": \"Russian\",\n        \"SK\": \"Slovak\",\n        \"SL\": \"Slovenian\",\n        \"SV\": \"Swedish\",\n        \"TR\": \"Turkish\",\n        \"UK\": \"Ukrainian\",\n        \"ZH\": \"Chinese (simplified)\"\n    }\n```\n\n\u003c/details\u003e\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdromzeh%2Fvmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdromzeh%2Fvmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdromzeh%2Fvmt/lists"}